Deprecated the unused "userInterface" function

This commit is contained in:
Ray Speth 2012-03-09 22:54:47 +00:00
parent 0312f6dc21
commit 9753cc7c40
5 changed files with 12 additions and 6 deletions

View file

@ -335,8 +335,9 @@ void error(const std::string& msg);
* class logger and inherited classes of logger.
*
* @ingroup textlogs
* @deprecated
*/
int userInterface();
DEPRECATED(int userInterface());
//! Install a logger.
/*!

View file

@ -6,6 +6,8 @@
#ifndef CT_LOGGER_H
#define CT_LOGGER_H
#include "ct_defs.h"
#include <iostream>
#include <string>
#include <cstdlib>
@ -87,7 +89,8 @@ public:
}
/// Return an integer specifying the application environment.
virtual int env() {
/// @deprecated
DEPRECATED(virtual int env()) {
return 0;
}
};

View file

@ -174,7 +174,8 @@ protected:
void logerror(const std::string& msg) ;
//! Returns an integer specifying the application environment
int getUserEnv() ;
//! @deprecated
DEPRECATED(int getUserEnv()) ;
//! Install a logger.
/*!
@ -581,7 +582,8 @@ public:
}
//! Returns an integer specifying the application environment.
int getUserEnv() {
//! @deprecated
DEPRECATED(int getUserEnv()) {
return pMessenger->getUserEnv() ;
}

View file

@ -51,7 +51,7 @@ public:
mexErrMsgTxt(err.c_str());
}
virtual int env() {
DEPRECATED(virtual int env()) {
return 1;
}
};

View file

@ -39,7 +39,7 @@ public:
PyRun_SimpleString((char*)err.c_str());
}
virtual int env() {
DEPRECATED(virtual int env()) {
return 2;
}
};