00001 /****************************************************************************** 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 00008 00009 #ifndef databaseCommandProcessor_H_ 00010 #define databaseCommandProcessor_H_ 00011 00012 #include "vlDatabase.h" 00013 00014 class DtString; 00015 00016 // Object responsible for processing commands. 00017 class DT_DLL_VLDB DtDatabaseCommandProcessor 00018 { 00019 public: 00020 // Constructor 00021 DtDatabaseCommandProcessor(); 00022 00023 // Destructor 00024 virtual ~DtDatabaseCommandProcessor(); 00025 00026 // Execute a database command. 00027 virtual bool processCommand( const DtString& command ) = 0; 00028 00029 // Get a database's maximum column width. 00030 virtual unsigned int getMaximumColumnWidgth() = 0; 00031 00032 }; 00033 00034 #endif