Index: plugin.cpp
===================================================================
RCS file: /usr/cvs/opie/noncore/styles/theme/plugin.cpp,v
retrieving revision 1.3
diff -u -3 -p -r1.3 plugin.cpp
--- plugin.cpp	4 Oct 2002 01:42:57 -0000	1.3
+++ plugin.cpp	28 Nov 2002 16:56:13 -0000
@@ -77,5 +77,7 @@ Q_EXPORT_INTERFACE()
 	Q_CREATE_INSTANCE( ThemeInterface )
 }
 
-
-
+// For Sharp ROM
+ 
+extern "C" { QStyle *allocate ( ) { return new OThemeStyle ( "" ); } }
+extern "C" { void drawmenubaritem ( QStyle *sty, QPainter *p, int x, int y, int w, int h, QMenuItem *mi, QColorGroup &g, bool enabled, bool active ) { return ((OThemeStyle *) sty )-> drawMenuBarItem ( p, x, y, w, h, mi, g, enabled, active ); } }
