configlib/dbmsjdbc/src/native/DbmsConnection.h
changeset 1 b538b70cbe51
equal deleted inserted replaced
0:2e8eeb919028 1:b538b70cbe51
       
     1 // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef __DbmsConnection_h__
       
    17 #define __DbmsConnection_h__
       
    18 #include <e32std.h>
       
    19 #include <d32dbms.h>
       
    20 
       
    21 
       
    22 
       
    23 class DbmsConnection {
       
    24 
       
    25 public:
       
    26 	RDbNamedDatabase 	iDatabase;
       
    27 	TBool 				iOpen;
       
    28 public:
       
    29 	DbmsConnection();
       
    30 	~DbmsConnection();
       
    31 
       
    32 	TInt Open(const TDesC& aFileName);
       
    33 	void Close();
       
    34 	
       
    35 };
       
    36 
       
    37 #endif