[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/server MovieClipLoader.h
From: |
strk |
Subject: |
[Gnash-commit] gnash/server MovieClipLoader.h |
Date: |
Wed, 25 Jan 2006 17:16:30 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Branch:
Changes by: strk <address@hidden> 06/01/25 17:16:30
Modified files:
server : MovieClipLoader.h
Log message:
indentation
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gnash/server/MovieClipLoader.h.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
Patches:
Index: gnash/server/MovieClipLoader.h
diff -u gnash/server/MovieClipLoader.h:1.1 gnash/server/MovieClipLoader.h:1.2
--- gnash/server/MovieClipLoader.h:1.1 Tue Jan 24 10:12:00 2006
+++ gnash/server/MovieClipLoader.h Wed Jan 25 17:16:30 2006
@@ -27,74 +27,75 @@
#include "impl.h"
namespace gnash {
- struct mcl {
- int bytes_loaded;
- int bytes_total;
- };
+
+ struct mcl {
+ int bytes_loaded;
+ int bytes_total;
+ };
#if 0
-struct MovieClipLoader : public character
-{
- MovieClipLoader(movie* parent, int id) :
- character(parent, id)
- {
- log_msg("%s: \n", __FUNCTION__);
- }
+ struct MovieClipLoader : public character
+ {
+ MovieClipLoader(movie* parent, int id) :
+ character(parent, id)
+ {
+ log_msg("%s: \n", __FUNCTION__);
+ }
#else
- class MovieClipLoader
- {
+ class MovieClipLoader
+ {
#endif
- public:
- MovieClipLoader();
+ public:
+ MovieClipLoader();
- ~MovieClipLoader();
+ ~MovieClipLoader();
- void load(const tu_string& filespec);
-
- struct mcl *getProgress(as_object *ao);
-
- bool loadClip(const tu_string& str, void *);
- void unloadClip(void *);
- void addListener(void *);
- void removeListener(void *);
-
- void on_button_event(event_id event);
- // Callbacks
- void onLoadStart(void *);
- void onLoadProgress(void *);
- void onLoadInit(void *);
- void onLoadComplete(void *);
- void onLoadError(void *);
- private:
- bool _started;
- bool _completed;
- tu_string _filespec;
- int _progress;
- bool _error;
- struct mcl _mcl;
- mouse_state _mouse_state;
-};
-
-struct moviecliploader_as_object : public gnash::as_object
-{
- MovieClipLoader mov_obj;
-};
-
-struct mcl_as_object : public gnash::as_object
-{
- struct mcl data;
-};
-
-void moviecliploader_loadclip(const fn_call& fn);
-void moviecliploader_unloadclip(const fn_call& fn);
-void moviecliploader_getprogress(const fn_call& fn);
-void moviecliploader_new(const fn_call& fn);
-void moviecliploader_onload_init(const fn_call& fn);
-void moviecliploader_onload_start(const fn_call& fn);
-void moviecliploader_onload_progress(const fn_call& fn);
-void moviecliploader_onload_complete(const fn_call& fn);
-void moviecliploader_onload_error(const fn_call& fn);
-void moviecliploader_default(const fn_call& fn);
+ void load(const tu_string& filespec);
+
+ struct mcl *getProgress(as_object *ao);
+
+ bool loadClip(const tu_string& str, void *);
+ void unloadClip(void *);
+ void addListener(void *);
+ void removeListener(void *);
+
+ void on_button_event(event_id event);
+ // Callbacks
+ void onLoadStart(void *);
+ void onLoadProgress(void *);
+ void onLoadInit(void *);
+ void onLoadComplete(void *);
+ void onLoadError(void *);
+ private:
+ bool _started;
+ bool _completed;
+ tu_string _filespec;
+ int _progress;
+ bool _error;
+ struct mcl _mcl;
+ mouse_state _mouse_state;
+ };
+
+ struct moviecliploader_as_object : public as_object
+ {
+ MovieClipLoader mov_obj;
+ };
+
+ struct mcl_as_object : public as_object
+ {
+ struct mcl data;
+ };
+
+ void moviecliploader_loadclip(const fn_call& fn);
+ void moviecliploader_unloadclip(const fn_call& fn);
+ void moviecliploader_getprogress(const fn_call& fn);
+ void moviecliploader_new(const fn_call& fn);
+ void moviecliploader_onload_init(const fn_call& fn);
+ void moviecliploader_onload_start(const fn_call& fn);
+ void moviecliploader_onload_progress(const fn_call& fn);
+ void moviecliploader_onload_complete(const fn_call& fn);
+ void moviecliploader_onload_error(const fn_call& fn);
+ void moviecliploader_default(const fn_call& fn);
} // end of gnash namespace
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] gnash/server MovieClipLoader.h,
strk <=