vivi_breakpoint.h

来自「swf 解码源程序, 纯C代码」· C头文件 代码 · 共 59 行

H
59
字号
/* Vivified * Copyright (C) 2007 Benjamin Otte <otte@gnome.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. *  * This library 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 * Lesser General Public License for more details. *  * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor,  * Boston, MA  02110-1301  USA */#ifndef _VIVI_BREAKPOINT_H_#define _VIVI_BREAKPOINT_H_#include <libswfdec/swfdec.h>#include <vivified/core/vivi_application.h>G_BEGIN_DECLStypedef struct _ViviBreakpoint ViviBreakpoint;typedef struct _ViviBreakpointClass ViviBreakpointClass;#define VIVI_TYPE_BREAKPOINT                    (vivi_breakpoint_get_type())#define VIVI_IS_BREAKPOINT(obj)                 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VIVI_TYPE_BREAKPOINT))#define VIVI_IS_BREAKPOINT_CLASS(klass)         (G_TYPE_CHECK_CLASS_TYPE ((klass), VIVI_TYPE_BREAKPOINT))#define VIVI_BREAKPOINT(obj)                    (G_TYPE_CHECK_INSTANCE_CAST ((obj), VIVI_TYPE_BREAKPOINT, ViviBreakpoint))#define VIVI_BREAKPOINT_CLASS(klass)            (G_TYPE_CHECK_CLASS_CAST ((klass), VIVI_TYPE_BREAKPOINT, ViviBreakpointClass))#define VIVI_BREAKPOINT_GET_CLASS(obj)          (G_TYPE_INSTANCE_GET_CLASS ((obj), VIVI_TYPE_BREAKPOINT, ViviBreakpointClass))struct _ViviBreakpoint{  SwfdecAsObject	object;  gboolean		active;		/* only active breakpoints receive events */  gulong		handlers[5];	/* handlers for every signal of the debugger or 0 */};struct _ViviBreakpointClass{  SwfdecAsObjectClass	object_class;};GType			vivi_breakpoint_get_type   	(void);void			vivi_breakpoint_set_active	(ViviBreakpoint *	breakpoint,							 gboolean		active);G_END_DECLS#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?