databaseConnection.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 
00008 
00009 #ifndef databaseConnection_H_
00010 #define databaseConnection_H_
00011 
00012 #include "vlDatabase.h"
00013 
00014 class DtDatabaseParameters;
00015 
00017 class DT_DLL_VLDB DtDatabaseConnection
00018 {
00019 public:
00021    // 'disconnected' state.
00022    DtDatabaseConnection();
00023    
00025    virtual ~DtDatabaseConnection();
00026 
00028    virtual void setConnectionParameters(DtDatabaseParameters*,bool useMaster) = 0;
00029 
00030    // by this class at construction time
00031    virtual bool connect() = 0;
00032    virtual bool connectSansDSN() = 0;
00033 
00034    // Disconnect from the currently connected database
00035    virtual bool disconnect() = 0;
00036 
00037 };
00038 
00039 #endif

Document ID: Generated on Tue Oct 11 19:41:03 EDT 2011 from SVN revision 107422
Copyright © 2005-2011 VT MÄK Inc. All Rights Reserved (www.mak.com)