Back to index

libindicator  12.10.0
dummy-indicator-entry-func.h
Go to the documentation of this file.
00001 /*
00002 Test for libindicator
00003 
00004 Copyright 2012 Canonical Ltd.
00005 
00006 Authors:
00007     Ted Gould <ted@canonical.com>
00008 
00009 This library is free software; you can redistribute it and/or
00010 modify it under the terms of the GNU General Public License
00011 version 3.0 as published by the Free Software Foundation.
00012 
00013 This library is distributed in the hope that it will be useful,
00014 but WITHOUT ANY WARRANTY; without even the implied warranty of
00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016 GNU General Public License version 3.0 for more details.
00017 
00018 You should have received a copy of the GNU General Public
00019 License along with this library. If not, see
00020 <http://www.gnu.org/licenses/>.
00021 */
00022 
00023 #ifndef __DUMMY_INDICATOR_ENTRY_FUNC__
00024 #define __DUMMY_INDICATOR_ENTRY_FUNC__
00025 
00026 #include <glib.h>
00027 #include <glib-object.h>
00028 
00029 #include "libindicator/indicator.h"
00030 #include "libindicator/indicator-object.h"
00031 
00032 G_BEGIN_DECLS
00033 
00034 #define DUMMY_INDICATOR_ENTRY_FUNC_TYPE            (dummy_indicator_entry_func_get_type ())
00035 #define DUMMY_INDICATOR_ENTRY_FUNC(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), DUMMY_INDICATOR_ENTRY_FUNC_TYPE, DummyIndicatorEntryFunc))
00036 #define DUMMY_INDICATOR_ENTRY_FUNC_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), DUMMY_INDICATOR_ENTRY_FUNC_TYPE, DummyIndicatorEntryFuncClass))
00037 #define IS_DUMMY_INDICATOR_ENTRY_FUNC(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), DUMMY_INDICATOR_ENTRY_FUNC_TYPE))
00038 #define IS_DUMMY_INDICATOR_ENTRY_FUNC_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), DUMMY_INDICATOR_ENTRY_FUNC_TYPE))
00039 #define DUMMY_INDICATOR_ENTRY_FUNC_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), DUMMY_INDICATOR_ENTRY_FUNC_TYPE, DummyIndicatorEntryFuncClass))
00040 
00041 typedef struct _DummyIndicatorEntryFunc      DummyIndicatorEntryFunc;
00042 typedef struct _DummyIndicatorEntryFuncClass DummyIndicatorEntryFuncClass;
00043 
00044 struct _DummyIndicatorEntryFuncClass {
00045        IndicatorObjectClass parent_class;
00046 };
00047 
00048 struct _DummyIndicatorEntryFunc {
00049        IndicatorObject parent;
00050 
00051        gboolean entry_activate_called;
00052        gboolean entry_activate_window_called;
00053        gboolean entry_close_called;
00054 };
00055 
00056 #endif /* __DUMMY_INDICATOR_ENTRY_FUNC__ */