Ananas Library  0.9.5
aextension.h
1 /****************************************************************************
2 ** $Id: aextension.h,v 1.8 2007/09/04 13:30:23 app Exp $
3 **
4 ** Extension object header file of
5 ** Ananas application library
6 **
7 ** Created : 20031201
8 **
9 ** Copyright (C) 2003-2004 Leader InfoTech. All rights reserved.
10 ** Copyright (C) 2003-2005 Grigory Panov, Yoshkar-Ola.
11 **
12 ** This file is part of the Designer application of the Ananas
13 ** automation accounting system.
14 **
15 ** This file may be distributed and/or modified under the terms of the
16 ** GNU General Public License version 2 as published by the Free Software
17 ** Foundation and appearing in the file LICENSE.GPL included in the
18 ** packaging of this file.
19 **
20 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
21 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
22 **
23 ** See http://www.leaderit.ru/page=ananas or email sales@leaderit.ru
24 ** See http://www.leaderit.ru/gpl/ for GPL licensing information.
25 **
26 ** Contact org@leaderit.ru if any conditions of this licensing are
27 ** not clear to you.
28 **
29 **********************************************************************/
30 
31 #ifndef AEXTENSION_H
32 #define AEXTENSION_H
33 
34 #include "ananasglobal.h"
35 #include "adatabase.h"
36 #include <qobject.h>
37 
45 class ANANAS_EXPORT AExtension : public QObject
46 {
47  Q_OBJECT
48 
49 public:
50  aDatabase* db;
51 
52  AExtension( const char *name = 0 );
53  ~AExtension();
54  virtual int init(aDatabase* dbo);
55 
56 signals:
57  void event( const QString &data );
58 
59 };
60 
61 #endif //AEXTENSION_H
Класс для работы с СУБД. Ananas Data Abstraction Layer. Наследует QObject...
Definition: adatabase.h:77
Definition: aextension.h:45