Changeset 229


Ignore:
Timestamp:
01/03/10 22:59:46 (2 years ago)
Author:
mickem
Message:

Added a simple scheduling concept

Location:
trunk
Files:
9 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/nsc_module_wrapper.hpp

    r220 r229  
    8181// Message wrappers below this point 
    8282 
     83#ifdef _WIN32 
     84#define NSC_WRAP_DLL() \ 
     85  BOOL APIENTRY DllMain( HANDLE hModule, DWORD  ul_reason_for_call, LPVOID lpReserved) { NSCModuleWrapper::wrapDllMain(hModule, ul_reason_for_call); return TRUE; } 
     86#else 
     87#define NSC_WRAP_DLL() 
     88#endif 
     89 
    8390#define NSC_WRAPPERS_MAIN_DEF(toObject) \ 
    8491  extern int NSModuleHelperInit(unsigned int id, NSCModuleHelper::lpNSAPILoader f) { \ 
  • trunk/modules/NRPEClient/stdafx.h

    r226 r229  
    2424#include <functional> 
    2525 
     26#include <boost/array.hpp> 
     27#include <boost/optional.hpp> 
     28#include <boost/bind.hpp> 
     29#include <program_options_ex.hpp> 
     30 
     31#include <boost/asio.hpp> 
     32#ifdef USE_SSL 
     33#include <boost/asio/ssl.hpp> 
     34#endif 
     35 
     36 
    2637#include <config.h> 
    2738#include <utils.h> 
     39#include <types.hpp> 
    2840 
    29 #include <types.hpp> 
    3041#include <NSCAPI.h> 
    3142#include <NSCHelper.h> 
    3243#include <nsc_module_wrapper.hpp> 
    33  
    34 #include <boost/array.hpp> 
    35 #include <boost/asio.hpp> 
    36 #include <boost/optional.hpp> 
    37 #include <boost/bind.hpp> 
    38 #ifdef USE_SSL 
    39 #include <boost/asio/ssl.hpp> 
    40 #endif 
    41 #include <program_options_ex.hpp> 
    4244namespace po = boost::program_options; 
    4345 
  • trunk/service/simple_client.hpp

    r221 r229  
    3939          for (std::list<std::wstring>::const_iterator cit = lst.begin(); cit!=lst.end();++cit) 
    4040            std::wcout << *cit << std::endl; 
     41          std::wcout << _T("Listing commands...Done") << std::endl; 
    4142        } else if (s == _T("off") && buff == _T("debug ")) { 
    4243          std::wcout << _T("Setting debug log off...") << std::endl; 
Note: See TracChangeset for help on using the changeset viewer.