mcatan      2004/04/29 15:03:28

  Modified:    msvc/static Makefile.am
  Added:       msvc/static static.cpp
  Log:
  added static.cpp
  
  Revision  Changes    Path
  1.3       +1 -1      logging-log4cxx/msvc/static/Makefile.am
  
  Index: Makefile.am
  ===================================================================
  RCS file: /home/cvs/logging-log4cxx/msvc/static/Makefile.am,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Makefile.am       1 Oct 2003 20:08:16 -0000       1.2
  +++ Makefile.am       29 Apr 2004 22:03:28 -0000      1.3
  @@ -1,2 +1,2 @@
  -EXTRA_DIST = static.dsp static.vcproj
  +EXTRA_DIST = static.cpp static.dsp static.vcproj
   
  
  
  
  1.1                  logging-log4cxx/msvc/static/static.cpp
  
  Index: static.cpp
  ===================================================================
  #include <log4cxx/asyncappender.h>
  #include <log4cxx/consoleappender.h>
  #include <log4cxx/dailyrollingfileappender.h>
  #include <log4cxx/htmllayout.h>
  #include <log4cxx/level.h>
  #include <log4cxx/patternlayout.h>
  #include <log4cxx/propertyconfigurator.h>
  #include <log4cxx/rollingfileappender.h>
  #include <log4cxx/simplelayout.h>
  #include <log4cxx/ttcclayout.h>
  #include <log4cxx/db/odbcappender.h>
  #include <log4cxx/helpers/appenderattachableimpl.h>
  #include <log4cxx/helpers/onlyonceerrorhandler.h>
  #include <log4cxx/net/smtpappender.h>
  #include <log4cxx/net/smtpappender.h>
  #include <log4cxx/net/socketappender.h>
  #include <log4cxx/net/sockethubappender.h>
  #include <log4cxx/net/syslogappender.h>
  #include <log4cxx/net/telnetappender.h>
  #include <log4cxx/net/xmlsocketappender.h>
  #include <log4cxx/nt/nteventlogappender.h>
  #include <log4cxx/spi/loggingevent.h>
  #include <log4cxx/varia/denyallfilter.h>
  #include <log4cxx/varia/fallbackerrorhandler.h>
  #include <log4cxx/varia/levelmatchfilter.h>
  #include <log4cxx/varia/levelrangefilter.h>
  #include <log4cxx/varia/stringmatchfilter.h>
  #include <log4cxx/xml/domconfigurator.h>
  #include <log4cxx/xml/xmllayout.h>
  
  using namespace log4cxx;
  using namespace log4cxx::db;
  using namespace log4cxx::helpers;
  using namespace log4cxx::net;
  using namespace log4cxx::nt;
  using namespace log4cxx::spi;
  using namespace log4cxx::varia;
  using namespace log4cxx::xml;
  
  /** Special function used to force symbol references for dynamic classes when
  comiling a static library with msvc.
  
  <b>This function must not be called directly !</b>
  */
  void ForceSymbolReferences()
  {
        AsyncAppender();
        ConsoleAppender();
        DailyRollingFileAppender();
        FileAppender();
        HTMLLayout();
        PatternLayout();
        PropertyConfigurator();
        RollingFileAppender();
        SimpleLayout();
        TTCCLayout();
  #ifdef HAVE_ODBC
        ODBCAppender();
  #endif
        AppenderAttachableImpl();
        OnlyOnceErrorHandler();
  #ifdef HAVE_SMTP
        SMTPAppender();
        DefaultEvaluator();
  #endif
        SocketAppender();
        SocketHubAppender();
        SyslogAppender();
        TelnetAppender();
        XMLSocketAppender();
        NTEventLogAppender();
        LoggingEvent();
        DenyAllFilter();
        FallbackErrorHandler();
        LevelMatchFilter();
        LevelRangeFilter();
        StringMatchFilter();
  #ifdef HAVE_XML
        DOMConfigurator();
  #endif
        XMLLayout();
  }
  
  
  

Reply via email to