| OLD | NEW |
| 1 /** | 1 /** |
| 2 * \file database.h MSI database | 2 * \file database.h MSI database |
| 3 */ | 3 */ |
| 4 | 4 |
| 5 #ifndef DATABASE_H | 5 #ifndef DATABASE_H |
| 6 #define DATABASE_H | 6 #define DATABASE_H |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 * - MSDN [MsiDatabaseOpenView function](http://msdn.microsoft.com/en-us/libr
ary/aa370082%28v=vs.85%29.aspx) | 77 * - MSDN [MsiDatabaseOpenView function](http://msdn.microsoft.com/en-us/libr
ary/aa370082%28v=vs.85%29.aspx) |
| 78 */ | 78 */ |
| 79 msi_handle open_view( const wchar_t * query ) ; | 79 msi_handle open_view( const wchar_t * query ) ; |
| 80 | 80 |
| 81 friend class View ; | 81 friend class View ; |
| 82 } ; | 82 } ; |
| 83 | 83 |
| 84 /** | 84 /** |
| 85 * A Windows Installer database in an installation context. | 85 * A Windows Installer database in an installation context. |
| 86 */ | 86 */ |
| 87 class Installation_Database : public Database | 87 class InstallationDatabase : public Database |
| 88 { | 88 { |
| 89 public: | 89 public: |
| 90 /** | 90 /** |
| 91 * The constructor of a database in an installation context has no arguments be
cause the database is a part of that context. | 91 * The constructor of a database in an installation context has no arguments be
cause the database is a part of that context. |
| 92 */ | 92 */ |
| 93 Installation_Database( Immediate_Session & session ) ; | 93 InstallationDatabase( ImmediateSession & session ) ; |
| 94 } ; | 94 } ; |
| 95 | 95 |
| 96 //------------------------------------------------------- | 96 //------------------------------------------------------- |
| 97 // | 97 // |
| 98 //------------------------------------------------------- | 98 //------------------------------------------------------- |
| 99 /** | 99 /** |
| 100 * A Windows Installer database outside of an installation context, opened as a f
ile from the file system. | 100 * A Windows Installer database outside of an installation context, opened as a f
ile from the file system. |
| 101 * | 101 * |
| 102 * This is a read-only version of a file-system database. | 102 * This is a read-only version of a file-system database. |
| 103 * Refactor the class to obtain other open-modes. | 103 * Refactor the class to obtain other open-modes. |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 * End marker | 195 * End marker |
| 196 */ | 196 */ |
| 197 inline Record end() | 197 inline Record end() |
| 198 { | 198 { |
| 199 return Record( Record::null_t() ) ; | 199 return Record( Record::null_t() ) ; |
| 200 } | 200 } |
| 201 } ; | 201 } ; |
| 202 | 202 |
| 203 | 203 |
| 204 #endif | 204 #endif |
| OLD | NEW |