'libs/gtkmm2ext' - DLL visibility stuff and associated changes needed for building with MSVC. Currently includes debugging information and things that are just commented out until we have known compatibility with the other platforms (i.e. contains stuff to be removed at a later date)
This commit is contained in:
parent
eb023b7496
commit
b5e9e7c04c
|
@ -31,7 +31,7 @@
|
|||
namespace Gtkmm2ext {
|
||||
|
||||
template<class DataType>
|
||||
struct LIBGTKMM2EXT_API SerializedObjectPointers {
|
||||
struct /*LIBGTKMM2EXT_API*/ SerializedObjectPointers {
|
||||
uint32_t size;
|
||||
uint32_t cnt;
|
||||
char type[32];
|
||||
|
@ -89,7 +89,7 @@ class LIBGTKMM2EXT_API DnDTreeViewBase : public Gtk::TreeView
|
|||
};
|
||||
|
||||
template<class DataType>
|
||||
class LIBGTKMM2EXT_API DnDTreeView : public DnDTreeViewBase
|
||||
class /*LIBGTKMM2EXT_API*/ DnDTreeView : public DnDTreeViewBase
|
||||
{
|
||||
public:
|
||||
DnDTreeView() {}
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
namespace Gtkmm2ext {
|
||||
|
||||
/** Parent class for children of a DnDVBox */
|
||||
class LIBGTKMM2EXT_API DnDVBoxChild
|
||||
class /*LIBGTKMM2EXT_API*/ DnDVBoxChild
|
||||
{
|
||||
public:
|
||||
virtual ~DnDVBoxChild () {}
|
||||
|
@ -45,7 +45,7 @@ public:
|
|||
|
||||
/** A VBox whose contents can be dragged and dropped */
|
||||
template <class T>
|
||||
class LIBGTKMM2EXT_API DnDVBox : public Gtk::EventBox
|
||||
class /*LIBGTKMM2EXT_API*/ DnDVBox : public Gtk::EventBox
|
||||
{
|
||||
public:
|
||||
DnDVBox () : _active (0), _drag_icon (0), _expecting_unwanted_button_event (false), _placeholder (0)
|
||||
|
|
|
@ -30,11 +30,11 @@
|
|||
|
||||
/* XXX g++ 2.95 can't compile this as pair of member function templates */
|
||||
|
||||
template<typename T> LIBGTKMM2EXT_API gint idle_delete (T *obj) { delete obj; return FALSE; }
|
||||
template<typename T> LIBGTKMM2EXT_API void delete_when_idle (T *obj) {
|
||||
template<typename T> /*LIBGTKMM2EXT_API*/ gint idle_delete (T *obj) { delete obj; return FALSE; }
|
||||
template<typename T> /*LIBGTKMM2EXT_API*/ void delete_when_idle (T *obj) {
|
||||
Glib::signal_idle().connect (sigc::bind (sigc::ptr_fun (idle_delete<T>), obj));
|
||||
}
|
||||
template<typename T> LIBGTKMM2EXT_API gint delete_on_unmap (GdkEventAny *ignored, T *obj) {
|
||||
template<typename T> /*LIBGTKMM2EXT_API*/ gint delete_on_unmap (GdkEventAny *ignored, T *obj) {
|
||||
Glib::signal_idle().connect (sigc::bind (sigc::ptr_fun (idle_delete<T>), obj));
|
||||
return FALSE;
|
||||
}
|
||||
|
|
|
@ -75,7 +75,7 @@ namespace Gtkmm2ext {
|
|||
LIBGTKMM2EXT_API void set_popdown_strings (Gtk::ComboBoxText&,
|
||||
const std::vector<std::string>&);
|
||||
|
||||
template<class T> LIBGTKMM2EXT_API void deferred_delete (void *ptr) {
|
||||
template<class T> /*LIBGTKMM2EXT_API*/ void deferred_delete (void *ptr) {
|
||||
delete static_cast<T *> (ptr);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user