Changeset 1177:ef6e8872e637


Ignore:
Timestamp:
03/05/09 21:11:50 (3 years ago)
Author:
niam
Branch:
default
Message:

organized includes in dataTplProcessor, exceptionBasic, graphicsColor; added policy for header inclusion

Files:
2 added
33 edited
1 moved

Legend:

Unmodified
Added
Removed
  • docs/data.tpl.processor

    r989 r1177  
    2121                3. hash 
    2222                4. array of hashes 
    23                  
     23 
    2424        variable is iterative with `for` loop 
    2525        variable member can be accessed directly with `.` operator 
    26         example:  
     26        example: 
    2727                1. the first symbol of the string: $strVar.0 
    2828                2. the second element of the array: $arrVar.1 
     
    4747                        <(rof)> 
    4848                        |<(print $b.one)> 
    49                 <(rof)>          
     49                <(rof)> 
    5050 
    5151blocks: 
     
    5656 
    5757                        <(include template.tpl)> 
    58          
     58 
    5959        if: 
    6060                `if` statement allows to use conditional blocks 
     
    8686                `break` block may have a strength - how many loops[in deep] to break => <(break 2)> => breaks 2 loop blocks; if not specified - 1 by default 
    8787                `break` and `continue` blocks outside the loop blocks do nothing 
    88                  
     88 
    8989                example: 
    9090                        //c++ code: 
    9191                        dodo::data::tpl::processor tp; 
    92                          
     92 
    9393                        dodoStringArray arr; 
    9494                        arr.push_back("one"); 
     
    9696                        arr.push_back("three"); 
    9797                        tp.assign("arr",arr); 
    98                          
     98 
    9999                        dodoStringMap arr1; 
    100100                        arr1["one"] = "one"; 
     
    102102                        arr1["three"] = "three"; 
    103103                        tp.assign("arr1",arr1); 
    104                          
     104 
    105105                        dodoArray<dodoStringMap> arr2; 
    106106                        arr2.push_back(arr1); 
     
    108108                        arr2.push_back(arr1); 
    109109                        tp.assign("arr2",arr2); 
    110                          
     110 
    111111                        //template 
    112112                        <(for $b in $arr)> 
     
    121121                                |<(print $c)> 
    122122                        <(rof)> 
    123                                  
     123 
    124124                        <(for $b in $arr2)> 
    125125                                <(for $b in $b)> <(* HERE : `$b in $b` and it's OK! *)> 
     
    128128                                |<(print $b.one)> 
    129129                        <(rof)> 
    130                          
     130 
    131131                        <(for $b in $arr2)> 
    132132                                <(for $b => $c in $b)> 
     
    134134                                <(rof)> 
    135135                        <(rof)> 
    136                          
     136 
    137137                        <(for $b in $arr)> 
    138138                                <(if $b==2 )> 
     
    145145                                <(print @@@)> 
    146146                        <(rof)> 
    147                          
     147 
    148148        print: 
    149149                print variable value 
     
    151151                example: 
    152152                        <(print {$arr2.{0}.{$one}} )> 
    153                          
     153 
    154154                        <(print $arr2.1.{$arr1.{$one}} )> 
    155                          
     155 
    156156                        <(print $arr2.1.{$arr1.{$one}} , !!!! , {$arr2.{0}.{$one}})> 
  • trunk/include/libdodo/cgiFastExchange.h

    r1167 r1177  
    3434 
    3535#ifdef FASTCGI_EXT 
    36  
    3736#include <libdodo/cgiExchange.h> 
    3837#include <libdodo/types.h> 
     
    136135        }; 
    137136}; 
    138  
    139137#endif 
    140138 
  • trunk/include/libdodo/cgiFastServer.h

    r1167 r1177  
    3434 
    3535#ifdef FASTCGI_EXT 
    36  
    3736#include <libdodo/pcSyncThreadSection.h> 
    3837 
     
    113112        }; 
    114113}; 
    115  
    116114#endif 
    117115 
  • trunk/include/libdodo/dataBaseMysql.h

    r1167 r1177  
    3434 
    3535#ifdef MYSQL_EXT 
    36  
    3736#include <libdodo/types.h> 
    3837#include <libdodo/dataBaseSqlConstructor.h> 
     
    194193        }; 
    195194}; 
    196  
    197195#endif 
    198196 
  • trunk/include/libdodo/dataBasePostgresql.h

    r1167 r1177  
    3434 
    3535#ifdef POSTGRESQL_EXT 
    36  
    3736#include <libdodo/types.h> 
    3837#include <libdodo/dataBaseSqlConstructor.h> 
     
    166165 
    167166#ifdef POSTGRESQL_NO_ENCODINGTOCHAR 
    168  
    169167#define POSTGRESQL_ENCODINGSTATEMENTS 39 
    170168 
     
    245243        }; 
    246244}; 
    247  
    248245#endif 
    249246 
  • trunk/include/libdodo/dataBaseSqlite.h

    r1167 r1177  
    3434 
    3535#ifdef SQLITE3_EXT 
    36  
    3736#include <libdodo/dataBaseSqlConstructor.h> 
    3837 
     
    174173        }; 
    175174}; 
    176  
    177175#endif 
    178176 
  • trunk/include/libdodo/dataTplProcessor.h

    r1160 r1177  
    3333#include <libdodo/directives.h> 
    3434 
    35 #include <libdodo/dataTplProcessorEx.h> 
    3635#include <libdodo/types.h> 
    37 #include <libdodo/toolsMisc.h> 
    38 #include <libdodo/cgiFastServer.h> 
    39 #include <libdodo/cgiServer.h> 
    40 #include <libdodo/toolsFilesystem.h> 
    4136#include <libdodo/ioChannel.h> 
    4237 
     
    140135                         *              example: 
    141136                         * //c++ code: 
    142                          *                      cgiProcessor cgip; 
     137                         *                      dodo::data::tpl::processor cgip; 
    143138                         * 
    144139                         *                      dodoStringArray arr; 
  • trunk/include/libdodo/directives.h

    r1131 r1177  
    4848#define _GNU_SOURCE 
    4949#endif 
    50  
    51 #include <stdio.h> 
    52 #include <unistd.h> 
    5350 
    5451/** 
  • trunk/include/libdodo/exceptionBasic.h

    r1166 r1177  
    3333#include <libdodo/directives.h> 
    3434 
     35#include <exception> 
     36 
    3537#include <libdodo/types.h> 
    36  
    37 #include <exception> 
    38  
    39 #ifdef DL_EXT 
    40  
    41 #include <dlfcn.h> 
    42  
    43 #endif 
    44  
    45 #ifdef CALLSTACK_EX 
    46  
    47 #include <dlfcn.h> 
    48 #include <execinfo.h> 
    49 #include <cxxabi.h> 
    50  
    51 #endif 
    52  
    53 #ifdef PTHREAD_EXT 
    54  
    55 #include <pthread.h> 
    56  
    57 #endif 
    58  
    59 #include <stdlib.h> 
    6038 
    6139namespace dodo 
     
    146124 
    147125#ifdef DL_EXT 
    148  
    149126                /** 
    150127                 * @struct __basicMod 
     
    171148                 */ 
    172149                typedef void (*deinitBaseExModule)(); 
    173  
    174150#endif 
    175151 
     
    186162 
    187163#ifdef CALLSTACK_EX 
    188  
    189164                /** 
    190165                 * @struct __call 
     
    197172                        void       *address;    ///< address of the call 
    198173                }; 
    199  
    200174#endif 
    201175 
     
    254228 
    255229#ifdef CALLSTACK_EX 
    256  
    257230                        /** 
    258231                         * @return call stack to the exception point 
    259232                         */ 
    260233                        virtual dodoString getCallStack(); 
    261  
    262234#endif 
    263235 
     
    275247 
    276248#ifdef CALLSTACK_EX 
    277  
    278249                        dodoArray<__call> callStack;    ///< call stack of the raised exception 
    279  
    280250#endif 
    281251 
     
    310280 
    311281#ifdef DL_EXT 
    312  
    313282                        /** 
    314283                         * @return information about module 
     
    341310                                                                                 void             *data, 
    342311                                                                                 void             *toInit = NULL); 
    343  
    344312#endif 
    345313 
     
    353321 
    354322#ifdef DL_EXT 
    355  
    356323                        static void *handlesEx[BASEEX_MODULES];         ///< handles to the libraries 
    357324 
    358325                        static bool handlesOpenedEx[BASEEX_MODULES];    ///< map of the opened libraries 
    359  
    360326#endif 
    361327 
     
    391357 
    392358#ifdef PTHREAD_EXT 
    393  
    394359                                static pthread_mutex_t keeper;  ///< mutex 
    395  
    396360#endif 
    397361                        }; 
  • trunk/include/libdodo/graphicsColor.h

    r1160 r1177  
    3434 
    3535#ifdef IMAGEMAGICK_EXT 
    36  
    3736namespace dodo 
    3837{ 
     
    6867        }; 
    6968}; 
    70  
    7169#endif 
    7270 
  • trunk/src/cgi.cc

    r1167 r1177  
    2828 */ 
    2929 
    30 #include <libdodo/cgi.h> 
    31  
    3230#include <libdodo/directives.h> 
    3331 
     32#include <libdodo/cgi.h> 
    3433#include <libdodo/types.h> 
    3534 
  • trunk/src/cgiBasicExchange.cc

    r1167 r1177  
    2828 */ 
    2929 
    30 #include <libdodo/cgiBasicExchange.h> 
    31  
    3230#include <libdodo/directives.h> 
    3331 
     32#include <libdodo/cgiBasicExchange.h> 
    3433#include <libdodo/cgiExchange.h> 
    3534#include <libdodo/ioStdio.h> 
  • trunk/src/cgiBasicServer.cc

    r1167 r1177  
    2828 */ 
    2929 
    30 #include <libdodo/cgiBasicServer.h> 
    31  
    3230#include <libdodo/directives.h> 
    3331 
     32#include <libdodo/cgiBasicServer.h> 
    3433#include <libdodo/cgiBasicExchange.h> 
    3534 
  • trunk/src/cgiDialogue.cc

    r1167 r1177  
    2828 */ 
    2929 
     30#include <libdodo/directives.h> 
     31 
    3032#include <string.h> 
    3133#include <stdlib.h> 
    3234 
    3335#include <libdodo/cgiDialogue.h> 
    34  
    35 #include <libdodo/directives.h> 
    36  
    3736#include <libdodo/types.h> 
    38  
    3937#include <libdodo/cgi.h> 
    4038#include <libdodo/cgiExchange.h> 
    4139#include <libdodo/cgiDialogueEx.h> 
    42  
    4340 
    4441using namespace dodo::cgi; 
  • trunk/src/cgiExchange.cc

    r1167 r1177  
    2828 */ 
    2929 
    30 #include <libdodo/cgiExchange.h> 
    31  
    3230#include <libdodo/directives.h> 
    3331 
     32#include <libdodo/cgiExchange.h> 
    3433#include <libdodo/ioChannel.h> 
    3534 
  • trunk/src/cgiFastExchange.cc

    r1167 r1177  
    3131 
    3232#ifdef FASTCGI_EXT 
    33  
    3433#include <fcgiapp.h> 
    3534 
  • trunk/src/cgiFastExchange.inline

    r1167 r1177  
    3434 
    3535#ifdef FASTCGI_EXT 
    36  
    3736#include <fcgiapp.h> 
    3837 
     
    5049        }; 
    5150}; 
    52  
    5351#endif 
    5452 
  • trunk/src/cgiFastServer.cc

    r1167 r1177  
    3131 
    3232#ifdef FASTCGI_EXT 
    33  
    3433#include <fcgiapp.h> 
    3534 
    3635#include "cgiFastExchange.inline" 
    3736 
     37#include <libdodo/cgiFastServer.h> 
    3838#include <libdodo/types.h> 
    39 #include <libdodo/cgiFastServer.h> 
    4039#include <libdodo/cgiFastServerEx.h> 
    4140#include <libdodo/cgiFastExchange.h> 
  • trunk/src/cgiServer.cc

    r1010 r1177  
    2828 */ 
    2929 
     30#include <libdodo/directives.h> 
     31 
    3032#include <libdodo/cgiServer.h> 
    3133 
  • trunk/src/dataBaseAccumulator.cc

    r1167 r1177  
    3030#include <libdodo/directives.h> 
    3131 
     32#include <libdodo/dataBaseAccumulator.h> 
    3233#include <libdodo/types.h> 
    33 #include <libdodo/dataBaseAccumulator.h> 
    3434#include <libdodo/toolsString.h> 
    3535#include <libdodo/xexec.h> 
  • trunk/src/dataBaseConnector.cc

    r1167 r1177  
    3030#include <libdodo/directives.h> 
    3131 
     32#include <libdodo/dataBaseConnector.h> 
    3233#include <libdodo/types.h> 
    33 #include <libdodo/dataBaseConnector.h> 
    3434 
    3535using namespace dodo::data::base; 
  • trunk/src/dataBaseMysql.cc

    r1170 r1177  
    3131 
    3232#ifdef MYSQL_EXT 
    33  
    3433#include <mysql.h> 
     34#include <errmsg.h> 
     35 
     36#include <libdodo/dataBaseMysql.h> 
     37#include <libdodo/dataBaseMysqlEx.h> 
    3538 
    3639namespace dodo 
     
    4851        }; 
    4952}; 
    50  
    51 #include <errmsg.h> 
    52  
    53 #include <libdodo/dataBaseMysql.h> 
    54 #include <libdodo/dataBaseMysqlEx.h> 
    5553 
    5654using namespace dodo::data::base; 
     
    683681        return rowsFields; 
    684682} 
    685  
    686 #endif 
    687  
    688 //------------------------------------------------------------------- 
    689  
     683#endif 
     684 
     685//------------------------------------------------------------------- 
     686 
  • trunk/src/dataBasePostgresql.cc

    r1170 r1177  
    3131 
    3232#ifdef POSTGRESQL_EXT 
    33  
    3433#include <libpq-fe.h> 
    3534#include <stdlib.h> 
     35 
     36#include <libdodo/dataBasePostgresql.h> 
     37#include <libdodo/toolsString.h> 
     38#include <libdodo/toolsMisc.h> 
     39#include <libdodo/dataBasePostgresqlEx.h> 
     40#include <libdodo/xexec.h> 
    3641 
    3742namespace dodo 
     
    5156}; 
    5257 
    53 #include <libdodo/toolsString.h> 
    54 #include <libdodo/toolsMisc.h> 
    55 #include <libdodo/dataBasePostgresql.h> 
    56 #include <libdodo/dataBasePostgresqlEx.h> 
    57 #include <libdodo/xexec.h> 
    58  
    5958using namespace dodo::data::base; 
    6059 
    6160#ifdef POSTGRESQL_NO_ENCODINGTOCHAR 
    62  
    6361const dodoString postgresql::encodingStatements[] = 
    6462{ 
     
    103101        "GB18030" 
    104102}; 
    105  
    106103#endif 
    107104 
     
    10251022#endif 
    10261023} 
    1027  
    1028 #endif 
    1029  
    1030 //------------------------------------------------------------------- 
     1024#endif 
     1025 
     1026//------------------------------------------------------------------- 
  • trunk/src/dataBaseSqlConstructor.cc

    r1167 r1177  
    3030#include <libdodo/directives.h> 
    3131 
     32#include <libdodo/dataBaseSqlConstructor.h> 
    3233#include <libdodo/types.h> 
    3334#include <libdodo/toolsMisc.h> 
    34 #include <libdodo/dataBaseSqlConstructor.h> 
    3535#include <libdodo/dataBaseSqlConstructorEx.h> 
    3636#include <libdodo/dataBaseAccumulator.h> 
  • trunk/src/dataBaseSqlite.cc

    r1167 r1177  
    3131 
    3232#ifdef SQLITE3_EXT 
    33  
    3433#include <sqlite3.h> 
     34 
     35#include <libdodo/dataBaseSqlite.h> 
     36#include <libdodo/toolsMisc.h> 
     37#include <libdodo/dataBaseSqliteEx.h> 
     38#include <libdodo/xexec.h> 
    3539 
    3640namespace dodo 
     
    4852        }; 
    4953}; 
    50  
    51 #include <libdodo/dataBaseSqlite.h> 
    52 #include <libdodo/toolsMisc.h> 
    53 #include <libdodo/dataBaseSqliteEx.h> 
    54 #include <libdodo/xexec.h> 
    5554 
    5655using namespace dodo::data::base; 
     
    11631162        return rowsFields; 
    11641163} 
    1165  
    1166 #endif 
    1167  
    1168 //------------------------------------------------------------------- 
    1169  
     1164#endif 
     1165 
     1166//------------------------------------------------------------------- 
     1167 
  • trunk/src/dataFormatJsonNode.cc

    r1175 r1177  
    3030#include <libdodo/directives.h> 
    3131 
     32#include <libdodo/dataFormatJsonNode.h> 
    3233#include <libdodo/types.h> 
    3334#include <libdodo/toolsString.h> 
    3435#include <libdodo/dataFormatJsonNodeEx.h> 
    35 #include <libdodo/dataFormatJsonNode.h> 
    3636 
    3737using namespace dodo::data::format::json; 
  • trunk/src/dataFormatJsonProcessor.cc

    r1175 r1177  
    3030#include <libdodo/directives.h> 
    3131 
     32#include <libdodo/dataFormatJsonProcessor.h> 
    3233#include <libdodo/types.h> 
    3334#include <libdodo/toolsString.h> 
     
    3536#include <libdodo/dataFormatJsonProcessorEx.h> 
    3637#include <libdodo/dataFormatJsonNode.h> 
    37 #include <libdodo/dataFormatJsonProcessor.h> 
    3838 
    3939using namespace dodo::data::format::json; 
  • trunk/src/dataFormatXmlNode.cc

    r1175 r1177  
    2727 * set shiftwidth=4 
    2828 */ 
     29 
     30#include <libdodo/directives.h> 
    2931 
    3032#include <libdodo/dataFormatXmlNode.h> 
  • trunk/src/dataFormatXmlProcessor.cc

    r1175 r1177  
    3131 
    3232#ifdef LIBXML2_EXT 
    33  
    3433#include <libxml/parser.h> 
    3534#include <libxml/xmlmemory.h> 
    36  
     35#endif 
     36 
     37#include <libdodo/dataFormatXmlProcessor.h> 
     38#include <libdodo/dataFormatXmlProcessorEx.h> 
     39 
     40#ifdef LIBXML2_EXT 
    3741namespace dodo 
    3842{ 
     
    4953                                         */ 
    5054                                        __node(); 
    51  
    5255 
    5356                                        /** 
     
    6770        }; 
    6871}; 
    69  
    70 #endif 
    71  
    72 #include <libdodo/dataFormatXmlProcessorEx.h> 
    73 #include <libdodo/dataFormatXmlProcessor.h> 
     72#endif 
    7473 
    7574using namespace dodo::data::format::xml; 
     
    140139 
    141140#ifdef LIBXML2_EXT 
    142  
    143141void 
    144142errHandler(void        *data, 
     
    146144{ 
    147145} 
    148  
    149146#endif 
    150147 
     
    186183 
    187184#ifdef LIBXML2_EXT 
    188  
    189185bool 
    190186processor::isCDATA(const __node &a_xnode) 
     
    203199        return false; 
    204200} 
    205  
    206201#endif 
    207202 
     
    365360 
    366361#ifdef LIBXML2_EXT 
    367  
    368362dodoArray<node> 
    369363processor::parse(const __nodeDef &definition, 
     
    478472        return sampleArr; 
    479473} 
    480  
    481 #endif 
    482  
    483 //------------------------------------------------------------------- 
    484  
    485 #ifdef LIBXML2_EXT 
    486  
     474#endif 
     475 
     476//------------------------------------------------------------------- 
     477 
     478#ifdef LIBXML2_EXT 
    487479void 
    488480processor::getAttributes(const __nodeDef  &definition, 
     
    600592        } 
    601593} 
    602  
    603594#endif 
    604595 
     
    674665 
    675666#ifdef LIBXML2_EXT 
    676  
    677667dodoArray<node> 
    678668processor::parse(__node xnode) 
     
    720710        return sample; 
    721711} 
    722  
    723712#endif 
    724713 
     
    840829 
    841830#ifdef LIBXML2_EXT 
    842  
    843831__node 
    844832processor::findNode(const __nodeDef &definition, 
     
    893881        return __node(NULL); 
    894882} 
    895  
    896883#endif 
    897884 
  • trunk/src/dataMemoryShared.cc

    r1175 r1177  
    2929 
    3030#include <libdodo/directives.h> 
    31 #include <libdodo/types.h> 
    3231 
    3332#include <sys/types.h> 
     
    4140#endif 
    4241 
     42#include <libdodo/dataMemoryShared.h> 
     43#include <libdodo/toolsMisc.h> 
     44#include <libdodo/types.h> 
     45#include <libdodo/toolsCode.h> 
     46#include <libdodo/dataMemorySharedEx.h> 
     47 
    4348namespace dodo 
    4449{ 
     
    5863        }; 
    5964}; 
    60  
    61 #include <libdodo/toolsMisc.h> 
    62 #include <libdodo/toolsCode.h> 
    63 #include <libdodo/dataMemoryShared.h> 
    64 #include <libdodo/dataMemorySharedEx.h> 
    6565 
    6666using namespace dodo::data::memory; 
  • trunk/src/dataTplProcessor.cc

    r1166 r1177  
    2828 */ 
    2929 
     30#include <libdodo/directives.h> 
     31 
    3032#include <libdodo/dataTplProcessor.h> 
     33#include <libdodo/dataTplProcessorEx.h> 
     34#include <libdodo/types.h> 
     35#include <libdodo/toolsFilesystem.h> 
     36#include <libdodo/toolsMisc.h> 
     37#include <libdodo/ioChannel.h> 
    3138 
    3239using namespace dodo::data::tpl; 
  • trunk/src/exceptionBasic.cc

    r1162 r1177  
    2828 */ 
    2929 
     30#include <libdodo/directives.h> 
     31 
     32#ifdef DL_EXT 
     33#include <dlfcn.h> 
     34#endif 
     35 
     36#ifdef CALLSTACK_EX 
     37#include <dlfcn.h> 
     38#include <execinfo.h> 
     39#include <cxxabi.h> 
     40#endif 
     41 
     42#ifdef PTHREAD_EXT 
     43#include <pthread.h> 
     44#endif 
     45 
     46#include <stdlib.h> 
     47 
    3048#include <libdodo/exceptionBasic.h> 
    3149 
     
    208226 
    209227#ifdef DL_EXT 
    210  
    211228bool basic::handlesOpenedEx[] = 
    212229{ 
     
    319336        NULL 
    320337}; 
    321  
    322338#endif 
    323339 
     
    325341 
    326342#ifdef PTHREAD_EXT 
    327  
    328343pthread_mutex_t basic::syncThreadSection::keeper; 
    329  
    330344#endif 
    331345 
     
    339353{ 
    340354#ifdef PTHREAD_EXT 
    341  
    342355        pthread_mutexattr_t attr; 
    343356        pthread_mutexattr_init(&attr); 
     
    347360 
    348361        pthread_mutexattr_destroy(&attr); 
    349  
    350362#endif 
    351363} 
     
    356368{ 
    357369#ifdef PTHREAD_EXT 
    358  
    359370        pthread_mutex_destroy(&keeper); 
    360  
    361371#endif 
    362372} 
     
    368378{ 
    369379#ifdef PTHREAD_EXT 
    370  
    371380        pthread_mutex_lock(&keeper); 
    372  
    373381#endif 
    374382} 
     
    380388{ 
    381389#ifdef PTHREAD_EXT 
    382  
    383390        pthread_mutex_unlock(&keeper); 
    384  
    385391#endif 
    386392} 
     
    428434 
    429435#ifdef CALLSTACK_EX 
    430  
    431436        void *trace[MAXCALLSTACKLEN]; 
    432437 
     
    472477 
    473478        free(symbols); 
    474  
    475479#endif 
    476480 
     
    496500        { 
    497501#ifdef DL_EXT 
    498  
    499502                deinitBaseExModule deinit; 
    500503 
     
    518521#endif 
    519522                } 
    520  
    521523#endif 
    522524        } 
     
    526528 
    527529#ifdef CALLSTACK_EX 
    528  
    529530dodoString 
    530531basic::getCallStack() 
     
    543544        return stack; 
    544545} 
    545  
    546 #endif 
    547  
    548 //------------------------------------------------------------------- 
    549  
    550 basic::operator const dodoString 
    551 & () 
     546#endif 
     547 
     548//------------------------------------------------------------------- 
     549 
     550basic::operator const dodoString &() 
    552551{ 
    553552        syncThreadStack tg; 
     
    578577 
    579578#ifdef DL_EXT 
    580  
    581579        if (handlesOpenedEx[module]) 
    582580        { 
     
    596594                handlesEx[module] = NULL; 
    597595        } 
    598  
    599596#endif 
    600597 
     
    621618        { 
    622619#ifdef DL_EXT 
    623  
    624620                if (handlesOpenedEx[i]) 
    625621                { 
     
    637633                        handlesEx[i] = NULL; 
    638634                } 
    639  
    640635#endif 
    641636 
     
    654649 
    655650#ifdef DL_EXT 
    656  
    657651        if (handlesOpenedEx[module]) 
    658652        { 
     
    672666                handlesEx[module] = NULL; 
    673667        } 
    674  
    675668#endif 
    676669 
     
    694687        { 
    695688#ifdef DL_EXT 
    696  
    697689                if (handlesOpenedEx[i]) 
    698690                { 
     
    710702                        handlesEx[i] = NULL; 
    711703                } 
    712  
    713704#endif 
    714705 
     
    722713 
    723714#ifdef DL_EXT 
    724  
    725715bool 
    726716basic::setErrorHandlers(const dodoString &path, 
     
    885875        return mod; 
    886876} 
    887  
    888 #endif 
    889  
    890 //------------------------------------------------------------------- 
    891  
     877#endif 
     878 
     879//------------------------------------------------------------------- 
     880 
  • trunk/src/graphicsColor.cc

    r1160 r1177  
    2828 */ 
    2929 
    30 #include <libdodo/graphicsColor.h> 
     30#include <libdodo/directives.h> 
    3131 
    3232#ifdef IMAGEMAGICK_EXT 
     33#include <libdodo/graphicsColor.h> 
    3334 
    3435using namespace dodo::graphics; 
     
    7374        65535, 65535, 65535, 65535 
    7475}; 
    75  
    7676#endif 
    7777 
Note: See TracChangeset for help on using the changeset viewer.