aboutsummaryrefslogtreecommitdiff
path: root/src/XrmDatabaseHelper.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/XrmDatabaseHelper.hh')
-rw-r--r--src/XrmDatabaseHelper.hh8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/XrmDatabaseHelper.hh b/src/XrmDatabaseHelper.hh
index ed8d761..404e8e8 100644
--- a/src/XrmDatabaseHelper.hh
+++ b/src/XrmDatabaseHelper.hh
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// $Id: XrmDatabaseHelper.hh,v 1.4 2002/02/17 18:44:07 fluxgen Exp $ 22// $Id: XrmDatabaseHelper.hh,v 1.5 2002/07/20 09:52:13 fluxgen Exp $
23 23
24// This is a helper for XrmDatabase 24// This is a helper for XrmDatabase
25// when database goes out of scope 25// when database goes out of scope
@@ -31,6 +31,9 @@
31#include <X11/Xlib.h> 31#include <X11/Xlib.h>
32#include <X11/Xresource.h> 32#include <X11/Xresource.h>
33 33
34/**
35 Helper class for XrmDatabase.
36*/
34class XrmDatabaseHelper 37class XrmDatabaseHelper
35{ 38{
36public: 39public:
@@ -42,7 +45,8 @@ public:
42 if (m_database!=0) 45 if (m_database!=0)
43 XrmDestroyDatabase(m_database); 46 XrmDestroyDatabase(m_database);
44 } 47 }
45 48
49 /// assignment operator
46 XrmDatabaseHelper& operator=(const XrmDatabase& database) { 50 XrmDatabaseHelper& operator=(const XrmDatabase& database) {
47 if (m_database!=0) 51 if (m_database!=0)
48 XrmDestroyDatabase(m_database); 52 XrmDestroyDatabase(m_database);