]> err.no Git - sope/blob - sope-gdl1/FrontBase2/FBContext.h
include config.make in makefiles
[sope] / sope-gdl1 / FrontBase2 / FBContext.h
1 /* 
2    FBContext.h
3
4    Copyright (C) 1999 MDlink online service center GmbH and Helge Hess
5
6    Author: Helge Hess (helge@mdlink.de)
7
8    This file is part of the FB Adaptor Library
9
10    This library is free software; you can redistribute it and/or
11    modify it under the terms of the GNU Library General Public
12    License as published by the Free Software Foundation; either
13    version 2 of the License, or (at your option) any later version.
14
15    This library is distributed in the hope that it will be useful,
16    but WITHOUT ANY WARRANTY; without even the implied warranty of
17    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18    Library General Public License for more details.
19
20    You should have received a copy of the GNU Library General Public
21    License along with this library; see the file COPYING.LIB.
22    If not, write to the Free Software Foundation,
23    59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24 */
25 // $Id: FBContext.h 1 2004-08-20 10:38:46Z znek $
26
27 #ifndef ___FB_Context_H___
28 #define ___FB_Context_H___
29
30 #import <GDLAccess/EOAdaptorContext.h>
31 #import "FBHeaders.h"
32
33 @interface FBContext : EOAdaptorContext
34
35 + (FBContext *)activeContext; // used by sybase callback procedures
36
37 - (BOOL)primaryBeginTransaction;
38 - (BOOL)primaryCommitTransaction;
39 - (BOOL)primaryRollbackTransaction;
40
41 @end
42
43 @interface FrontBaseContext : FBContext
44 @end
45
46 #endif