IMP  2.0.1
The Integrative Modeling Platform
deprecation.h
Go to the documentation of this file.
1 /**
2  * \file IMP/base/deprecation.h
3  * \brief Control display of deprecation information.
4  *
5  * Copyright 2007-2013 IMP Inventors. All rights reserved.
6  *
7  */
8 
9 #ifndef IMPBASE_DEPRECATION_H
10 #define IMPBASE_DEPRECATION_H
11 
12 #include <IMP/base/base_config.h>
13 #include "internal/deprecation.h"
14 
15 IMPBASE_BEGIN_NAMESPACE
16 
17 //! Toggle printing of warnings on using deprecated classes
18 /** If set to true (the default) a warning is printed every
19  time a class marked as deprecated is used.
20  \sa IMP_DEPRECATED
21  */
22 IMPBASEEXPORT void set_print_deprecation_messages(bool tf);
23 
24 IMPBASE_END_NAMESPACE
25 
26 #endif /* IMPBASE_DEPRECATION_H */