transactionstatus.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _LIBGDAMM_TRANSACTIONSTATUS_H
00004 #define _LIBGDAMM_TRANSACTIONSTATUS_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 /* $Id: transactionstatus.hg,v 1.2 2006/12/23 09:34:17 murrayc Exp $ */
00010 // -*- C++ -*- // this is for the .hg, I realize gensig puts one in
00011 
00012 /* transactionstatus.h
00013  * 
00014  * Copyright 2001      Free Software Foundation
00015  *
00016  * This library is free software; you can redistribute it and/or
00017  * modify it under the terms of the GNU Library General Public
00018  * License as published by the Free Software Foundation; either
00019  * version 2 of the License, or (at your option) any later version.
00020  *
00021  * This library is distributed in the hope that it will be useful,
00022  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00023  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00024  * Library General Public License for more details.
00025  *
00026  * You should have received a copy of the GNU Library General Public
00027  * License along with this library; if not, write to the Free
00028  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00029  */
00030 
00031 #include <glibmm/object.h>
00032 
00033 
00034 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00035 typedef struct _GdaTransactionStatus GdaTransactionStatus;
00036 typedef struct _GdaTransactionStatusClass GdaTransactionStatusClass;
00037 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00038 
00039 
00040 namespace Gnome
00041 {
00042 
00043 namespace Gda
00044 { class TransactionStatus_Class; } // namespace Gda
00045 
00046 } // namespace Gnome
00047 namespace Gnome
00048 {
00049   
00050 namespace Gda
00051 {
00052 
00058 enum TransactionIsolation
00059 {
00060   TRANSACTION_ISOLATION_UNKNOWN,
00061   TRANSACTION_ISOLATION_READ_COMMITTED,
00062   TRANSACTION_ISOLATION_READ_UNCOMMITTED,
00063   TRANSACTION_ISOLATION_REPEATABLE_READ,
00064   TRANSACTION_ISOLATION_SERIALIZABLE
00065 };
00066 
00067 } // namespace Gda
00068 
00069 } // namespace Gnome
00070 
00071 
00072 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00073 namespace Glib
00074 {
00075 
00076 template <>
00077 class Value<Gnome::Gda::TransactionIsolation> : public Glib::Value_Enum<Gnome::Gda::TransactionIsolation>
00078 {
00079 public:
00080   static GType value_type() G_GNUC_CONST;
00081 };
00082 
00083 } // namespace Glib
00084 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00085 
00086 
00087 namespace Gnome
00088 {
00089 
00090 namespace Gda
00091 {
00092 
00093 
00106 class TransactionStatus : public Glib::Object
00107 {
00108   
00109 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00110 
00111 public:
00112   typedef TransactionStatus CppObjectType;
00113   typedef TransactionStatus_Class CppClassType;
00114   typedef GdaTransactionStatus BaseObjectType;
00115   typedef GdaTransactionStatusClass BaseClassType;
00116 
00117 private:  friend class TransactionStatus_Class;
00118   static CppClassType transactionstatus_class_;
00119 
00120 private:
00121   // noncopyable
00122   TransactionStatus(const TransactionStatus&);
00123   TransactionStatus& operator=(const TransactionStatus&);
00124 
00125 protected:
00126   explicit TransactionStatus(const Glib::ConstructParams& construct_params);
00127   explicit TransactionStatus(GdaTransactionStatus* castitem);
00128 
00129 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00130 
00131 public:
00132   virtual ~TransactionStatus();
00133 
00134 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00135   static GType get_type()      G_GNUC_CONST;
00136   static GType get_base_type() G_GNUC_CONST;
00137 #endif
00138 
00140   GdaTransactionStatus*       gobj()       { return reinterpret_cast<GdaTransactionStatus*>(gobject_); }
00141 
00143   const GdaTransactionStatus* gobj() const { return reinterpret_cast<GdaTransactionStatus*>(gobject_); }
00144 
00146   GdaTransactionStatus* gobj_copy();
00147 
00148 private:
00149 
00150 protected:
00151   explicit TransactionStatus(const Glib::ustring& name = Glib::ustring());
00152   
00153 
00154 public:
00155   
00156   static Glib::RefPtr<TransactionStatus> create(const Glib::ustring& name);
00157 
00158 
00159    TransactionIsolation get_get_isolation_level() const;
00160     Glib::ustring get_get_name() const;
00161  
00162 
00163 public:
00164 
00165 public:
00166   //C++ methods used to invoke GTK+ virtual functions:
00167 #ifdef GLIBMM_VFUNCS_ENABLED
00168 #endif //GLIBMM_VFUNCS_ENABLED
00169 
00170 protected:
00171   //GTK+ Virtual Functions (override these to change behaviour):
00172 #ifdef GLIBMM_VFUNCS_ENABLED
00173 #endif //GLIBMM_VFUNCS_ENABLED
00174 
00175   //Default Signal Handlers::
00176 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00177 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00178 
00179 
00180 };
00181 
00182 } // namespace Gda
00183 } // namespace Gnome
00184 
00185 
00186 namespace Glib
00187 {
00193   Glib::RefPtr<Gnome::Gda::TransactionStatus> wrap(GdaTransactionStatus* object, bool take_copy = false);
00194 }
00195 
00196 
00197 #endif /* _LIBGDAMM_TRANSACTIONSTATUS_H */
00198 

Generated on Sat Feb 10 20:06:26 2007 for libgdamm by  doxygen 1.4.7