/* * Copyright © 2013 Red Hat, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * Author: Joaquim Rocha */ #ifndef __CC_CLOCK_ACTOR_H__ #define __CC_CLOCK_ACTOR_H__ #include #include G_BEGIN_DECLS #define CC_CLOCK_ACTOR_TYPE (cc_clock_actor_get_type ()) #define CC_CLOCK_ACTOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CC_CLOCK_ACTOR_TYPE, CcClockActor)) #define CC_IS_CLOCK_ACTOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CC_CLOCK_ACTOR_TYPE)) #define CC_CLOCK_ACTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CC_CLOCK_ACTOR_TYPE, CcClockActorClass)) #define CC_IS_CLOCK_ACTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CC_CLOCK_ACTOR_TYPE)) #define CC_CLOCK_ACTOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CC_CLOCK_ACTOR_TYPE, CcClockActorClass)) typedef struct _CcClockActor CcClockActor; typedef struct _CcClockActorClass CcClockActorClass; struct _CcClockActor { ClutterActor parent_instance; /*< private >*/ gfloat angle; }; struct _CcClockActorClass { ClutterActorClass parent_class; }; ClutterActor * cc_clock_actor_new (void); GType cc_clock_actor_get_type (void); #endif /* __CC_CLOCK_ACTOR_H__ */