00001 /* 00002 * Copyright © 2008 Nokia Corporation. 00003 */ 00004 00005 #ifndef __DBMS_HRH__ 00006 #define __DBMS_HRH__ 00007 00008 // DBMS enumerate command codes 00009 enum TDBMSIds 00010 { 00011 EOpenCmd = 1, // Open existing database 00012 ECreateCmd, // Create (replace) and open a database 00013 ERemoveDbCmd, // Drop database and delete file 00014 EAddBookCmd, // Show the book editor view for adding a book 00015 EBackCmd, // Back from book editor view 00016 EAddBookAPICmd, // Add a book using DBMS API 00017 EAddBookSQLCmd, // Add a book using SQL 00018 ERemoveBookCmd, // Remove a named book(s) 00019 ERemoveAllBooksCmd,// Remove all books 00020 EChangeTitleCmd, // Change title for a book 00021 EGetAllBooksCmd, // Refresh list of all books in database 00022 ESearchBooksCmd, // Search a book with name (title) 00023 EQuickFindCmd, // Retrieve details of book using index 00024 EAddDateCmd, // Add a date column to books table 00025 ERemoveDateCmd, // Remove the date column from books table 00026 EColumnNamesCmd, // Get column names of books table 00027 ECloseCmd // Close an open database 00028 }; 00029 00030 #endif // __DBMS_HRH__ 00031