all repos — fluxbox @ d51750a4444d042200fe5e76d92cb559b6a77f9e

custom fork of the fluxbox windowmanager

comments
fluxgen fluxgen
commit

d51750a4444d042200fe5e76d92cb559b6a77f9e

parent

a18a6b0994292668db09b4c7af0c4e1199b308f8

1 files changed, 6 insertions(+), 2 deletions(-)

jump to
M src/XrmDatabaseHelper.hhsrc/XrmDatabaseHelper.hh

@@ -19,7 +19,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: XrmDatabaseHelper.hh,v 1.4 2002/02/17 18:44:07 fluxgen Exp $ +// $Id: XrmDatabaseHelper.hh,v 1.5 2002/07/20 09:52:13 fluxgen Exp $ // This is a helper for XrmDatabase // when database goes out of scope

@@ -31,6 +31,9 @@

#include <X11/Xlib.h> #include <X11/Xresource.h> +/** + Helper class for XrmDatabase. +*/ class XrmDatabaseHelper { public:

@@ -42,7 +45,8 @@ ~XrmDatabaseHelper() {

if (m_database!=0) XrmDestroyDatabase(m_database); } - + + /// assignment operator XrmDatabaseHelper& operator=(const XrmDatabase& database) { if (m_database!=0) XrmDestroyDatabase(m_database);