Trade equipment common library.  1.0.0
tefactory.h
1 /****************************************************************************
2 ** $Id: tefactory.h,v 1.2 2006/02/15 21:57:40 red75 Exp $
3 **
4 ** ...
5 **
6 ** Created : 20060209
7 **
8 ** Copyright (C) 2003-2006 Leader InfoTech. All rights reserved.
9 **
10 ** This file is part of the Library of the Ananas
11 ** automation accounting system.
12 **
13 ** This file may be distributed and/or modified under the terms of the
14 ** GNU General Public License version 2 as published by the Free Software
15 ** Foundation and appearing in the file LICENSE.GPL included in the
16 ** packaging of this file.
17 **
18 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
19 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
20 **
21 ** See http://www.leaderit.ru/page=ananas or email sales@leaderit.ru
22 ** See http://www.leaderit.ru/gpl/ for GPL licensing information.
23 **
24 ** Contact org@leaderit.ru if any conditions of this licensing are
25 ** not clear to you.
26 **
27 **********************************************************************/
28 
29 #ifndef TEFACTORY_H
30 #define TEFACTORY_H
31 
32 #ifndef QT_H
33 #include "qstringlist.h"
34 #endif // QT_H
35 
36 class QString;
37 class TEBase;
38 
39 class LIB_EXPORT TEFactory
40 {
41 public:
42 #ifndef QT_NO_STRINGLIST
43  static QStringList keys();
44 #endif
45  static TEBase *create( const QString& );
46 };
47 
48 #endif //TEFACTORY_H
The TEFactory class creates TEBase objects.
Definition: tefactory.h:39
The TEBase is base class for all trade equipment classes.
Definition: tebase.h:148