Logo Search packages:      
Sourcecode: paco version File versions  Download package

util.h

//=======================================================================
// util.h
//-----------------------------------------------------------------------
// This file is part of the package paco
// Copyright (C) 2004-2009 David Rosal
// For more information visit http://paco.sourceforge.net
//=======================================================================

#ifndef GPACO_UTIL_H
#define GPACO_UTIL_H 1

#include <gtkmm/button.h>

namespace Gtk
{
      class StockID;
}


namespace Gpaco
{

extern void refreshMainLoop();
extern bool questionDialog(Gtk::Window*, Glib::ustring const&);
extern void errorDialog(Gtk::Window*, Glib::ustring const&, bool fatal = false);


class Button : public Gtk::Button
{
      public:

      Button(Gtk::StockID const&, Glib::ustring const&);

};    // class Button


class Lock
{
      public:

      Lock();
      ~Lock();

      private:

      void set(bool);
};


}     // namespace Gpaco

#endif      // GPACO_UTIL_H

Generated by  Doxygen 1.6.0   Back to index