gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash/plugin/win32 npgnash.cpp


From: Vitaly Alexeev
Subject: [Gnash-commit] gnash/plugin/win32 npgnash.cpp
Date: Wed, 09 Aug 2006 14:31:18 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Vitaly Alexeev <alexeev>        06/08/09 14:31:18

Added files:
        plugin/win32   : npgnash.cpp 

Log message:
        win32 dll main file

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/plugin/win32/npgnash.cpp?cvsroot=gnash&rev=1.1

Patches:
Index: npgnash.cpp
===================================================================
RCS file: npgnash.cpp
diff -N npgnash.cpp
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ npgnash.cpp 9 Aug 2006 14:31:18 -0000       1.1
@@ -0,0 +1,63 @@
+// 
+//   Copyright (C) 2005, 2006 Free Software Foundation, 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., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+
+// Linking Gnash statically or dynamically with other modules is making a
+// combined work based on Gnash. Thus, the terms and conditions of the GNU
+// General Public License cover the whole combination.
+//
+// As a special exception, the copyright holders of Gnash give you
+// permission to combine Gnash with free software programs or libraries
+// that are released under the GNU LGPL and with code included in any
+// release of Talkback distributed by the Mozilla Foundation. You may
+// copy and distribute such a system following the terms of the GNU GPL
+// for all but the LGPL-covered parts and Talkback, and following the
+// LGPL for the LGPL-covered parts.
+//
+// Note that people who make modified versions of Gnash are not obligated
+// to grant this special exception for their modified versions; it is their
+// choice whether to do so. The GNU General Public License gives permission
+// to release a modified version without this exception; this exception
+// also makes it possible to release a modified version which carries
+// forward this exception.
+// 
+//
+//
+#include <windows.h>
+#include <assert.h>
+
+//#include <stdio.h>
+#include "gnash.h"
+//#include "log.h"
+
+static void
+fs_callback(gnash::movie_interface* movie, const char* command, const char* 
args)
+// For handling notification callbacks from ActionScript.
+{
+//    dbglogfile << "fs_callback: " << command << "(" << args << ")" << endl;
+}
+
+BOOL APIENTRY DllMain( HMODULE hModule,
+                       DWORD  ul_reason_for_call,
+                       LPVOID lpReserved
+                                        )
+{
+
+       assert(tu_types_validate());
+
+//     gnash::register_fscommand_callback(fs_callback);
+    
+       return TRUE;
+}




reply via email to

[Prev in Thread] Current Thread [Next in Thread]