Deprecated the unused "userInterface" function
This commit is contained in:
parent
0312f6dc21
commit
9753cc7c40
5 changed files with 12 additions and 6 deletions
|
|
@ -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.
|
||||
/*!
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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() ;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ public:
|
|||
mexErrMsgTxt(err.c_str());
|
||||
}
|
||||
|
||||
virtual int env() {
|
||||
DEPRECATED(virtual int env()) {
|
||||
return 1;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ public:
|
|||
PyRun_SimpleString((char*)err.c_str());
|
||||
}
|
||||
|
||||
virtual int env() {
|
||||
DEPRECATED(virtual int env()) {
|
||||
return 2;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue