program.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _HILDON_LIBSMM_PROGRAM_H
00004 #define _HILDON_LIBSMM_PROGRAM_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 /* $Id: program.hg,v 1.10 2006/22/9 10:52:44 murrayc Exp $ */
00010 
00011 /* program.h
00012  *
00013  * Copyright (C) 1998-2005 The gtkmm Development Team
00014  *
00015  * This library is free software; you can redistribute it and/or
00016  * modify it under the terms of the GNU Library General Public
00017  * License as published by the Free Software Foundation; either
00018  * version 2 of the License, or (at your option) any later version.
00019  *
00020  * This library is distributed in the hope that it will be useful,
00021  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00022  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00023  * Library General Public License for more details.
00024  *
00025  * You should have received a copy of the GNU Library General Public
00026  * License along with this library; if not, write to the Free
00027  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00028  */
00029 
00030 #include <hildon-libsmm/window.h>
00031 
00032 
00033 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00034 typedef struct _HildonProgram HildonProgram;
00035 typedef struct _HildonProgramClass HildonProgramClass;
00036 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00037 
00038 
00039 namespace Hildon
00040 { class Program_Class; } // namespace Hildon
00041 namespace Hildon
00042 {
00043 
00049 class Program : public Glib::Object
00050 {
00051         
00052 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00053 
00054 public:
00055   typedef Program CppObjectType;
00056   typedef Program_Class CppClassType;
00057   typedef HildonProgram BaseObjectType;
00058   typedef HildonProgramClass BaseClassType;
00059 
00060 private:  friend class Program_Class;
00061   static CppClassType program_class_;
00062 
00063 private:
00064   // noncopyable
00065   Program(const Program&);
00066   Program& operator=(const Program&);
00067 
00068 protected:
00069   explicit Program(const Glib::ConstructParams& construct_params);
00070   explicit Program(HildonProgram* castitem);
00071 
00072 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00073 
00074 public:
00075   virtual ~Program();
00076 
00077 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00078   static GType get_type()      G_GNUC_CONST;
00079   static GType get_base_type() G_GNUC_CONST;
00080 #endif
00081 
00083   HildonProgram*       gobj()       { return reinterpret_cast<HildonProgram*>(gobject_); }
00084 
00086   const HildonProgram* gobj() const { return reinterpret_cast<HildonProgram*>(gobject_); }
00087 
00089   HildonProgram* gobj_copy();
00090 
00091 private:
00092 
00093         
00094         public:
00095                 Program();
00096                 
00097                 
00110   void add_window(Window& window);
00111                 
00117   void remove_window(Window& window);
00118                 
00119                 
00124   void set_can_hibernate(bool killable=true);
00125                 
00130   bool get_can_hibernate();
00131                 
00132                 
00139   void set_common_menu(Gtk::Menu& menu);
00140                 
00145   Gtk::Menu& get_common_menu();
00146                 
00147                 
00155   void set_common_toolbar(Gtk::Toolbar& toolbar);
00156                 
00161   Gtk::Toolbar& get_common_toolbar();
00162                 
00163                 
00168   bool get_is_topmost();
00169 
00170 
00171 public:
00172 
00173 public:
00174   //C++ methods used to invoke GTK+ virtual functions:
00175 #ifdef GLIBMM_VFUNCS_ENABLED
00176 #endif //GLIBMM_VFUNCS_ENABLED
00177 
00178 protected:
00179   //GTK+ Virtual Functions (override these to change behaviour):
00180 #ifdef GLIBMM_VFUNCS_ENABLED
00181 #endif //GLIBMM_VFUNCS_ENABLED
00182 
00183   //Default Signal Handlers::
00184 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00185 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00186 
00187 
00188 };
00189 
00190 } // namespace Hildon
00191 
00192 
00193 namespace Glib
00194 {
00200   Glib::RefPtr<Hildon::Program> wrap(HildonProgram* object, bool take_copy = false);
00201 }
00202 
00203 
00204 #endif /* _HILDON_LIBSMM_PROGRAM_H */
00205 

Generated on Wed Nov 8 17:20:41 2006 for hildon-libsmm by  doxygen 1.4.6