Ananas Library 0.9.5
ananas.h
1/****************************************************************************
2** $Id: ananas.h,v 1.35 2008/10/26 10:59:40 leader Exp $
3**
4** Header file of the Ananas Library of Ananas
5** Designer and Engine applications
6**
7** Created : 20031201
8**
9** Copyright (C) 2003-2004 Leader InfoTech. All rights reserved.
10**
11** This file is part of the Library of the Ananas
12** automation accounting system.
13**
14** This file may be distributed and/or modified under the terms of the
15** GNU General Public License version 2 as published by the Free Software
16** Foundation and appearing in the file LICENSE.GPL included in the
17** packaging of this file.
18**
19** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
20** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
21**
22** See http://www.leaderit.ru/page=ananas or email sales@leaderit.ru
23** See http://www.leaderit.ru/gpl/ for GPL licensing information.
24**
25** Contact org@leaderit.ru if any conditions of this licensing are
26** not clear to you.
27**
28**********************************************************************/
29
87
88#ifndef ANANAS_H
89#define ANANAS_H
90
91#include "acfg.h"
92#include "acfgrc.h"
93#include "adatabase.h"
94#include "asqlfield.h"
95#include "adatafield.h"
96#include "asqltable.h"
97#include "aform.h"
98#include "engine.h"
99#include "aobject.h"
100#include "awidget.h"
101#include "messageswindow.h"
102#include "adocjournal.h"
103#include "adocument.h"
104#include "acatalogue.h"
105#include "airegister.h"
106#include "aaregister.h"
107#include "atemplate.h"
108#include "areport.h"
109#include "aextension.h"
110#include "aextensionfactory.h"
111#include "adataexchange.h"
112#include "atime.h"
113#include "auser.h"
114#include "arole.h"
115#include "aservice.h"
116#include "atests.h"
117#include "afilter.h"
118
119#define ANANAS_LIBVERSION "0.9.5"
120
121extern const char ANANAS_EXPORT *ananas_libversion();
122extern bool ANANAS_EXPORT ananas_login( QString &rcfile, QString &username, QString &userpassword, aDatabase *db=0, int appId = 0 );
123extern void ANANAS_EXPORT ananas_logout( aDatabase *db=0 );
124extern QString ANANAS_EXPORT ananas_objectstr( aDatabase *db, Q_ULLONG uid, int oid );
125
126
127#endif
Definition adatabase.h:78