Changeset 7371


Ignore:
Timestamp:
2004-05-21T17:07:33+12:00 (20 years ago)
Author:
mdewsnip
Message:

(Human Info) Allow some actions to be easily switched off.

Location:
trunk/gsdl/src/recpt
Files:
2 added
17 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/authenaction.cpp

    r4974 r7371  
    2323 *
    2424 *********************************************************************/
     25
     26#include "gsdl_modules_cfg.h"
     27#ifdef GSDL_USE_AUTHEN_ACTION
    2528
    2629#include "authenaction.h"
     
    352355  return true;
    353356}
     357
     358#endif //GSDL_USE_AUTHEN_ACTION
  • trunk/gsdl/src/recpt/authenaction.h

    r3546 r7371  
    2424 *********************************************************************/
    2525
     26#include "gsdl_modules_cfg.h"
     27#ifdef GSDL_USE_AUTHEN_ACTION
    2628
    2729#ifndef AUTHENACTION_H
     
    7981};
    8082
    81 
    82 #endif
     83#endif //!AUTHENACTION_H
     84#endif //GSDL_USE_AUTHEN_ACTION
  • trunk/gsdl/src/recpt/browseaction.cpp

    r3546 r7371  
    2323 *
    2424 *********************************************************************/
     25
     26#include "gsdl_modules_cfg.h"
     27#ifdef GSDL_USE_BROWSE_ACTION
    2528
    2629#include "browseaction.h"
     
    243246}
    244247
    245 
    246 
    247 
    248 
     248#endif //GSDL_USE_BROWSE_ACTION
  • trunk/gsdl/src/recpt/browseaction.h

    r3546 r7371  
    2323 *
    2424 *********************************************************************/
     25
     26#include "gsdl_modules_cfg.h"
     27#ifdef GSDL_USE_BROWSE_ACTION
    2528
    2629#ifndef BROWSEACTION_H
     
    7174};
    7275
    73 #endif
     76#endif //!BROWSEACTION_H
     77#endif //GSDL_USE_BROWSE_ACTION
  • trunk/gsdl/src/recpt/collectoraction.cpp

    r5599 r7371  
    2323 *
    2424 *********************************************************************/
     25
     26#include "gsdl_modules_cfg.h"
     27#ifdef GSDL_USE_COLLECTOR_ACTION
    2528
    2629// note that the collectoraction relies on having direct access to a
     
    19771980  return str;
    19781981}
     1982
     1983#endif //GSDL_USE_COLLECTOR_ACTION
  • trunk/gsdl/src/recpt/collectoraction.h

    r5599 r7371  
    2424 *********************************************************************/
    2525
     26#include "gsdl_modules_cfg.h"
     27#ifdef GSDL_USE_COLLECTOR_ACTION
    2628
    2729#ifndef COLLECTORACTION_H
     
    132134};
    133135
    134 
    135 #endif
     136#endif //!COLLECTORACTION_H
     137#endif //GSDL_USE_COLLECTOR_ACTION
  • trunk/gsdl/src/recpt/converter.h

    r1876 r7371  
    9898  size_type size() const {return converters.size();}
    9999
    100   const_iterator find(text_t &key) {return converters.find(key);}
     100  const_iterator find(const text_t &key) {return converters.find(key);}
    101101
    102102  // added functionality
  • trunk/gsdl/src/recpt/extlinkaction.cpp

    r1443 r7371  
    2424 *********************************************************************/
    2525
     26#include "gsdl_modules_cfg.h"
     27#ifdef GSDL_USE_EXTLINK_ACTION
    2628
    2729#include <string.h>
     
    250252  return true;
    251253}
     254
     255#endif //GSDL_USE_EXTLINK_ACTION
  • trunk/gsdl/src/recpt/extlinkaction.h

    r1285 r7371  
    2424 *********************************************************************/
    2525
     26#include "gsdl_modules_cfg.h"
     27#ifdef GSDL_USE_EXTLINK_ACTION
    2628
    2729#ifndef EXTLINKACTION_H
     
    5860};
    5961
    60 
    61 
    62 #endif
     62#endif //!EXTLINKACTION_H
     63#endif //GSDL_USE_EXTLINK_ACTION
  • trunk/gsdl/src/recpt/phindaction.cpp

    r6787 r7371  
    2525 *
    2626 *********************************************************************/
     27
     28#include "gsdl_modules_cfg.h"
     29#ifdef GSDL_USE_PHIND_ACTION
    2730
    2831// Note that this action uses mgpp to retrieve phind info, calling MGQuery
     
    958961  }
    959962}
     963
     964#endif //GSDL_USE_PHIND_ACTION
  • trunk/gsdl/src/recpt/phindaction.h

    r3722 r7371  
    11/**********************************************************************
    22 *
    3  * phindaction.cpp --
     3 * phindaction.h --
    44 *
    55 * Copyright 2001 Gordon W. Paynter
     
    2525 *
    2626 *********************************************************************/
     27
     28#include "gsdl_modules_cfg.h"
     29#ifdef GSDL_USE_PHIND_ACTION
    2730
    2831#ifndef PHINDACTION_H
     
    115118};
    116119
    117 #endif
     120#endif //!PHINDACTION_H
     121#endif //GSDL_USE_PHIND_ACTION
  • trunk/gsdl/src/recpt/pingaction.cpp

    r1285 r7371  
    2323 *
    2424 *********************************************************************/
     25
     26#include "gsdl_modules_cfg.h"
     27#ifdef GSDL_USE_PING_ACTION
    2528
    2629#include "pingaction.h"
     
    8184  return true;
    8285};
     86
     87#endif //GSDL_USE_PING_ACTION
  • trunk/gsdl/src/recpt/pingaction.h

    r1285 r7371  
    2424 *********************************************************************/
    2525
     26#include "gsdl_modules_cfg.h"
     27#ifdef GSDL_USE_PING_ACTION
    2628
    2729#ifndef PINGACTION_H
     
    5052
    5153
    52 #endif
     54#endif //!PINGACTION_H
     55#endif //GSDL_USE_PING_ACTION
  • trunk/gsdl/src/recpt/statusaction.cpp

    r3546 r7371  
    2323 *
    2424 *********************************************************************/
     25
     26#include "gsdl_modules_cfg.h"
     27#ifdef GSDL_USE_STATUS_ACTION
    2528
    2629// following line required to get fstream.filedesc() on darwin (Mac OS X)
     
    11291132  }
    11301133}
     1134
     1135#endif //GSDL_USE_STATUS_ACTION
  • trunk/gsdl/src/recpt/statusaction.h

    r3546 r7371  
    2424 *********************************************************************/
    2525
     26#include "gsdl_modules_cfg.h"
     27#ifdef GSDL_USE_STATUS_ACTION
    2628
    2729#ifndef STATUSACTION_H
     
    127129
    128130
    129 #endif
     131#endif //!STATUSACTION_H
     132#endif //GSDL_USE_STATUS_ACTION
  • trunk/gsdl/src/recpt/tipaction.cpp

    r5967 r7371  
    2323 *
    2424 *********************************************************************/
     25
     26#include "gsdl_modules_cfg.h"
     27#ifdef GSDL_USE_TIP_ACTION
    2528
    2629#include "tipaction.h"
     
    6770  }
    6871}
     72
     73#endif //GSDL_USE_TIP_ACTION
  • trunk/gsdl/src/recpt/tipaction.h

    r1285 r7371  
    2424 *********************************************************************/
    2525
     26#include "gsdl_modules_cfg.h"
     27#ifdef GSDL_USE_TIP_ACTION
    2628
    2729#ifndef TIPACTION_H
     
    4446
    4547
    46 #endif
     48#endif //!TIPACTION_H
     49#endif //GSDL_USE_TIP_ACTION
Note: See TracChangeset for help on using the changeset viewer.