/sqlite3cc

To get this branch, use:
bzr branch http://bzr.ed.am/sqlite3cc

« back to all changes in this revision

Viewing changes to include/sqlite3cc/connection.h

  • Committer: edam
  • Date: 2012-01-23 14:34:45 UTC
  • Revision ID: edam@waxworlds.org-20120123143445-s2v4v90nycmfm6bv
fixed up tests

Show diffs side-by-side

added added

removed removed

26
26
 
27
27
#include <sqlite3.h>
28
28
#include <boost/utility.hpp>
29
 
#include <boost/shared_ptr.hpp>
30
29
#include <string>
31
30
 
32
31
 
38
37
        class basic_statement;
39
38
        class basic_transaction;
40
39
}
41
 
class command;
42
 
class query;
43
40
 
44
41
 
45
42
class connection
140
137
        int busy_timeout(
141
138
                int duration );
142
139
 
143
 
        /**
144
 
         * Create a command.
145
 
         *
146
 
         * @param sql an SQL statement in UTF-8
147
 
         */
148
 
        boost::shared_ptr< command > make_command(
149
 
                std::string sql );
150
 
 
151
 
        /**
152
 
         * Create a query.
153
 
         *
154
 
         * @param sql an SQL statement in UTF-8
155
 
         */
156
 
        boost::shared_ptr< query > make_query(
157
 
                std::string sql );
158
 
 
159
140
//______________________________________________________________________________
160
141
//                                                                implementation
161
142
private: