Changeset 995:17e5964af219


Ignore:
Timestamp:
08/05/08 12:20:06 (4 years ago)
Author:
niam
Branch:
libdodo
Message:

fixed namespaces of exception descriptors for db::mysql, tools::library

Location:
trunk/include/libdodo
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/libdodo/dbMysqlEx.h

    r974 r995  
    3737namespace dodo 
    3838{ 
    39         /** 
    40          * IDs of functions where exception might be thrown 
    41          */ 
    42         enum mysqlFunctionsID 
     39        namespace db 
    4340        { 
    44                 MYSQLEX_CONNECT, 
    45                 MYSQLEX_EXEC, 
    46                 MYSQLEX_GETFIELDSTYPES, 
     41                /** 
     42                 * IDs of functions where exception might be thrown 
     43                 */ 
     44                enum mysqlFunctionsID 
     45                { 
     46                        MYSQLEX_CONNECT, 
     47                        MYSQLEX_EXEC, 
     48                        MYSQLEX_GETFIELDSTYPES, 
     49                }; 
    4750        }; 
    4851}; 
  • trunk/include/libdodo/toolsLibraryEx.h

    r981 r995  
    3737namespace dodo 
    3838{ 
    39         /** 
    40          * libdodo defined errors 
    41          */ 
    42         enum libraryExR 
     39        namespace toosl 
    4340        { 
    44                 LIBRARYEX_LIBRARYNOTOPENED, 
    45         }; 
     41                /** 
     42                 * libdodo defined errors 
     43                 */ 
     44                enum libraryExR 
     45                { 
     46                        LIBRARYEX_LIBRARYNOTOPENED, 
     47                }; 
    4648 
    47         /** 
    48          * explanations for libdodo defined errors 
    49          */ 
    50 #define TOOLSLIBRARYEX_LIBRARYNOTOPENED_STR "Library was not opened." 
    51         /** 
    52          * IDs of functions where exception might be thrown 
    53          */ 
    54         enum libraryFunctionsID 
    55         { 
    56                 LIBRARYEX_OPEN, 
    57                 LIBRARYEX_CLOSE, 
    58                 LIBRARYEX_GET, 
    59                 LIBRARYEX_BROPERATORSTRING, 
    60                 LIBRARYEX_GETSYMBOLS, 
     49                /** 
     50                 * explanations for libdodo defined errors 
     51                 */ 
     52        #define TOOLSLIBRARYEX_LIBRARYNOTOPENED_STR "Library was not opened." 
     53                /** 
     54                 * IDs of functions where exception might be thrown 
     55                 */ 
     56                enum libraryFunctionsID 
     57                { 
     58                        LIBRARYEX_OPEN, 
     59                        LIBRARYEX_CLOSE, 
     60                        LIBRARYEX_GET, 
     61                        LIBRARYEX_BROPERATORSTRING, 
     62                        LIBRARYEX_GETSYMBOLS, 
     63                }; 
    6164        }; 
    6265}; 
Note: See TracChangeset for help on using the changeset viewer.