mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 12:00:45 +00:00
Add APPKIT_EXPORT_CLASS, APPKIT_EXPORT annotations (#288)
Some GS* classes and methods are used by the ColorPicker or Printing bundles. That means that they are referenced from an external module. For this module to be able to resolve these symbols, on Windows, they need to be exported. This commit adds `APPKIT_EXPORT_CLASS` and `APPKIT_EXPORT` annotations, allowing ColorPickers to compile on Windows.
This commit is contained in:
parent
3c160c9bb8
commit
6a3681aa82
4 changed files with 5 additions and 2 deletions
|
@ -169,6 +169,7 @@
|
|||
|
||||
</unit>
|
||||
*/
|
||||
APPKIT_EXPORT_CLASS
|
||||
@interface GSHbox: GSTable
|
||||
{
|
||||
BOOL _haveViews;
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
@class NSView;
|
||||
@class NSPrintInfo;
|
||||
|
||||
|
||||
APPKIT_EXPORT_CLASS
|
||||
@interface GSPrintOperation: NSPrintOperation
|
||||
{
|
||||
}
|
||||
|
|
|
@ -171,6 +171,7 @@
|
|||
</section>
|
||||
</unit>
|
||||
*/
|
||||
APPKIT_EXPORT_CLASS
|
||||
@interface GSTable: NSView
|
||||
{
|
||||
int _numberOfRows;
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
|
||||
#import <Foundation/NSBundle.h>
|
||||
#import <Foundation/NSCoder.h>
|
||||
#import "AppKit/AppKitDefines.h"
|
||||
#include "GNUstepBase/GSConfig.h"
|
||||
#include <math.h>
|
||||
|
||||
|
@ -40,7 +41,7 @@
|
|||
* Should be only used inside the gnustep-gui library. Implemented
|
||||
* in Source/NSApplication.m
|
||||
*/
|
||||
NSBundle *GSGuiBundle (void);
|
||||
APPKIT_EXPORT NSBundle *GSGuiBundle (void);
|
||||
|
||||
/*
|
||||
* Localize a message of the gnustep-gui library.
|
||||
|
|
Loading…
Reference in a new issue