CModuleRioExplorer Class Reference

#include <ServerInterface.h>

Inherits RioExplorer.

Public Member Functions

 CModuleRioExplorer (server_rec *Server)
 Construtor da classe RioModule, para criar um novo objeto desta classe.
 ~CModuleRioExplorer ()
 Destrutor da classe RioModule, usado quando um objeto e removido.
bool showMessage (int, string, string="")
 Funcao para mostrar uma mensagem no log do apache.
void updateCopyProgress (void)
 Funcao nao usada, mas que precisa ser implementada.
void setMD5Calculation (char *, bool)
 Funcao nao usada, mas que precisa ser implementada.
void setSyncCheck (char *, bool)
 Funcao nao usada, mas que precisa ser implementada.

Private Attributes

server_rec * m_Server

Detailed Description

Definition at line 73 of file ServerInterface.h.


Constructor & Destructor Documentation

CModuleRioExplorer::CModuleRioExplorer ( server_rec *  Server  ) 

Construtor da classe RioModule, para criar um novo objeto desta classe.

Parameters:
Server ponteiro para a estrutura do servidor.

Definition at line 67 of file ServerInterface.cpp.

00068 {
00069     // Inicializa as variaveis da classe
00070     m_Server = Server;
00071 }

CModuleRioExplorer::~CModuleRioExplorer (  ) 

Destrutor da classe RioModule, usado quando um objeto e removido.

Definition at line 74 of file ServerInterface.cpp.

00075 {
00076 
00077 }


Member Function Documentation

void CModuleRioExplorer::setMD5Calculation ( char *  ,
bool   
) [inline, virtual]

Funcao nao usada, mas que precisa ser implementada.

Implements RioExplorer.

Definition at line 101 of file ServerInterface.h.

00101 {};

void CModuleRioExplorer::setSyncCheck ( char *  ,
bool   
) [inline, virtual]

Funcao nao usada, mas que precisa ser implementada.

Implements RioExplorer.

Definition at line 105 of file ServerInterface.h.

00105 {};

bool CModuleRioExplorer::showMessage ( int  type,
string  message,
string  title = "" 
) [virtual]

Funcao para mostrar uma mensagem no log do apache.

Implements RioExplorer.

Definition at line 80 of file ServerInterface.cpp.

00081 {
00082     #ifdef RIO_DEBUG2 
00083     switch( type )
00084     {
00085         case ERROR_MSG:
00086             ap_log_error( APLOG_MARK, APLOG_ERR, 0, m_Server,
00087                           "[%s] %s", title.c_str(), message.c_str() );
00088             break;
00089 
00090         case WARNING_MSG:
00091             ap_log_error( APLOG_MARK, APLOG_WARNING, 0, m_Server,
00092                           "[%s] %s", title.c_str(), message.c_str() );
00093             break;
00094 
00095         case INFO_MSG:
00096             ap_log_error( APLOG_MARK, APLOG_INFO, 0, m_Server,
00097                           "[%s] %s", title.c_str(), message.c_str() );
00098              break;
00099 
00100         default:
00101              ap_log_error( APLOG_MARK, APLOG_NOTICE, 0, m_Server,
00102                           "[Invalid message type - %s] %s", title.c_str(),
00103                           message.c_str() );
00104              break;
00105     }
00106     #endif
00107 
00108     return true;
00109 }

void CModuleRioExplorer::updateCopyProgress ( void   )  [inline, virtual]

Funcao nao usada, mas que precisa ser implementada.

Implements RioExplorer.

Definition at line 97 of file ServerInterface.h.

00097 {};


Field Documentation

server_rec* CModuleRioExplorer::m_Server [private]

Definition at line 78 of file ServerInterface.h.


The documentation for this class was generated from the following files:
Generated on Wed Jul 4 16:03:31 2012 for RIO by  doxygen 1.6.3