|
@@ -19,13 +19,13 @@ namespace Network
|
|
|
int ref;
|
|
|
|
|
|
public:
|
|
|
- Answer( const char *answer );
|
|
|
+ __declspec( dllexport ) Answer( const char *answer );
|
|
|
|
|
|
- const char *getContentType() const;
|
|
|
- const char *getData() const;
|
|
|
+ __declspec( dllexport ) const char *getContentType() const;
|
|
|
+ __declspec( dllexport ) const char *getData() const;
|
|
|
|
|
|
- Answer *getThis();
|
|
|
- Answer *release();
|
|
|
+ __declspec( dllexport ) Answer *getThis();
|
|
|
+ __declspec( dllexport ) Answer *release();
|
|
|
};
|
|
|
|
|
|
class PostRequest
|
|
@@ -39,12 +39,12 @@ namespace Network
|
|
|
int ref;
|
|
|
|
|
|
public:
|
|
|
- PostRequest( const char *path, const char *host, const char *data, const char *contentType, unsigned short port );
|
|
|
+ __declspec( dllexport ) PostRequest( const char *path, const char *host, const char *data, const char *contentType, unsigned short port );
|
|
|
|
|
|
- Answer *execute() const;
|
|
|
+ __declspec( dllexport ) Answer *execute() const;
|
|
|
|
|
|
- PostRequest *getThis();
|
|
|
- PostRequest *release();
|
|
|
+ __declspec( dllexport ) PostRequest *getThis();
|
|
|
+ __declspec( dllexport ) PostRequest *release();
|
|
|
};
|
|
|
}
|
|
|
}
|