log4cplus  1.1.0
logloguser.h
Go to the documentation of this file.
00001 // -*- C++ -*-
00002 // Module:  Log4CPLUS
00003 // File:    logloguser.h
00004 // Created: 6/2003
00005 // Author:  Tad E. Smith
00006 //
00007 //
00008 // Copyright 2003-2010 Tad E. Smith
00009 //
00010 // Licensed under the Apache License, Version 2.0 (the "License");
00011 // you may not use this file except in compliance with the License.
00012 // You may obtain a copy of the License at
00013 //
00014 //     http://www.apache.org/licenses/LICENSE-2.0
00015 //
00016 // Unless required by applicable law or agreed to in writing, software
00017 // distributed under the License is distributed on an "AS IS" BASIS,
00018 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00019 // See the License for the specific language governing permissions and
00020 // limitations under the License.
00021 
00024 #ifndef LOG4CPLUS_HELPERS_LOGLOG_USER
00025 #define LOG4CPLUS_HELPERS_LOGLOG_USER
00026 
00027 #include <log4cplus/config.hxx>
00028 
00029 #if defined (LOG4CPLUS_HAVE_PRAGMA_ONCE)
00030 #pragma once
00031 #endif
00032 
00033 
00034 namespace log4cplus {
00035     namespace helpers {
00036         // forward declarations
00037         class LogLog;
00038 
00044         class LOG4CPLUS_EXPORT LogLogUser
00045         {
00046         public:
00047           // ctor and dtor
00048             LogLogUser();
00049             LogLogUser(const LogLogUser&);
00050             virtual ~LogLogUser();
00051 
00052           // public methods
00053             LogLog& getLogLog() const;
00054             
00055           // operators
00056             LogLogUser& operator=(const LogLogUser& rhs);
00057         };
00058 
00059     } // end namespace helpers
00060 } // end namespace log4cplus
00061 
00062 
00063 #endif // LOG4CPLUS_HELPERS_LOGLOG_USER
00064