[asterisk-scf-commits] asterisk-scf/integration/logger.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Mon Oct 4 15:41:58 CDT 2010


branch "master" has been updated
       via  46e951f8f7e94a76eb827ddba952dd2652dadbed (commit)
      from  0bdb9df057dff809cee78205769a50c7e0a6784a (commit)

Summary of changes:
 server/src/LoggingServer.h |   16 ++++++++--------
 server/src/main.cpp        |    3 ++-
 2 files changed, 10 insertions(+), 9 deletions(-)


- Log -----------------------------------------------------------------
commit 46e951f8f7e94a76eb827ddba952dd2652dadbed
Author: David M. Lee <dlee at digium.com>
Date:   Mon Oct 4 14:41:49 2010 -0600

    Added Windows DLL exports.

diff --git a/server/src/LoggingServer.h b/server/src/LoggingServer.h
index 1a17190..b1e3361 100644
--- a/server/src/LoggingServer.h
+++ b/server/src/LoggingServer.h
@@ -54,21 +54,21 @@ private:
 class LoggingServerI : public LoggingServer
 {
 public:
-   LoggingServerI();
+   HYDRA_ICEBOX_EXPORT LoggingServerI();
 
-   void logs(std::string const &, Level, const std::string&,
-             const Ice::Current&) const;
+   HYDRA_ICEBOX_EXPORT void logs(std::string const &, Level, 
+      const std::string&, const Ice::Current&) const;
    Configuration getConfiguration(Ice::Current const &) const
    {
       return getConfiguration();
    }
-   Configuration getConfiguration() const;
+   HYDRA_ICEBOX_EXPORT Configuration getConfiguration() const;
 
-   bool isEnabledFor(std::string const &name, Level level) const;
-   Level getEffectiveLevel(std::string const &name) const;
-   void setLevel(std::string const &name, Level level);
+   HYDRA_ICEBOX_EXPORT bool isEnabledFor(std::string const &name, Level level) const;
+   HYDRA_ICEBOX_EXPORT Level getEffectiveLevel(std::string const &name) const;
+   HYDRA_ICEBOX_EXPORT void setLevel(std::string const &name, Level level);
 
-   void configure(std::auto_ptr<ChainedLogOut> out, ServerConfigurationListenerPrx configurationListener, Ice::PropertiesPtr props);
+   HYDRA_ICEBOX_EXPORT void configure(std::auto_ptr<ChainedLogOut> out, ServerConfigurationListenerPrx configurationListener, Ice::PropertiesPtr props);
 
    static const std::string LoggingPropertyPrefix;
 
diff --git a/server/src/main.cpp b/server/src/main.cpp
index 663700f..12c1d35 100755
--- a/server/src/main.cpp
+++ b/server/src/main.cpp
@@ -167,7 +167,8 @@ void LoggingService::stop()
    }
 }
 
-extern "C" IceBox::Service* createLoggingService(Ice::CommunicatorPtr communicator)
+extern "C" HYDRA_ICEBOX_EXPORT IceBox::Service* createLoggingService(
+   Ice::CommunicatorPtr communicator)
 {
    return new LoggingService;
 }

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/logger.git



More information about the asterisk-scf-commits mailing list