gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/trunk r10351: Fix visibility build.


From: Benjamin Wolsey
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r10351: Fix visibility build.
Date: Tue, 25 Nov 2008 16:23:03 +0100
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 10351
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Tue 2008-11-25 16:23:03 +0100
message:
  Fix visibility build.
  
  Drop #defines in plugin.h.
  
  Visibility get/set is well-commented enough not to need commented-out
  wrong code.
modified:
  libcore/StreamProvider.h
  libcore/character.cpp
  plugin/plugin.h
=== modified file 'libcore/StreamProvider.h'
--- a/libcore/StreamProvider.h  2008-09-17 07:16:12 +0000
+++ b/libcore/StreamProvider.h  2008-11-25 15:23:03 +0000
@@ -41,7 +41,7 @@
 
        virtual ~StreamProvider() {}
 
-       static StreamProvider& getDefaultInstance();
+       DSOEXPORT static StreamProvider& getDefaultInstance();
 
        /// Returned stream ownership is transferred to caller.
        //

=== modified file 'libcore/character.cpp'
--- a/libcore/character.cpp     2008-11-25 11:28:09 +0000
+++ b/libcore/character.cpp     2008-11-25 15:23:03 +0000
@@ -575,7 +575,6 @@
                 ptr->getTarget(), val, d);
                        );
             return rv;
-            //ptr->set_visible(false);
         }
 
                ptr->set_visible(d);

=== modified file 'plugin/plugin.h'
--- a/plugin/plugin.h   2008-10-07 07:26:12 +0000
+++ b/plugin/plugin.h   2008-11-25 15:23:03 +0000
@@ -16,8 +16,8 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 
-#ifndef __PLUGIN_H__
-#define __PLUGIN_H__
+#ifndef GNASH_PLUGIN_H
+#define GNASH_PLUGIN_H
 
 #ifdef HAVE_CONFIG_H
 #include "gnashconfig.h"
@@ -51,20 +51,11 @@
 #include "prcvar.h"
 #include "prthread.h"
 
-/* ascii codes for various special keys */
-#define ESCAPE 27
-#define PAGE_UP 73
-#define PAGE_DOWN 81
-#define UP_ARROW 72
-#define DOWN_ARROW 80
-#define LEFT_ARROW 75
-#define RIGHT_ARROW 77
-
 extern NPBool      plugInitialized;
 extern PRLock      *playerMutex;
 extern PRCondVar   *playerCond;
 
-class DSOLOCAL nsPluginInstance : public nsPluginInstanceBase
+class nsPluginInstance : public nsPluginInstanceBase
 {
 public:
     nsPluginInstance(nsPluginCreateData* );


reply via email to

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