Export zlcore-tqt symbols

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/1/head
Michele Calgaro 4 months ago
parent 4b16b185fb
commit 20c1d4b0d7
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1,9 +1,13 @@
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/include
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}/include
${CMAKE_BINARY_DIR}
)
configure_file( include/core_export.h.cmake include/core_export.h )
##### libzlcore-tqt (shared)
file( GLOB_RECURSE _zlcore_cpp_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.cpp)

@ -41,14 +41,14 @@ class ZLPopupData;
class ZLMenubar;
class ZLFile;
class ZLApplicationBase {
class ZLCORE_EXPORT ZLApplicationBase {
protected:
ZLApplicationBase(const std::string &name);
~ZLApplicationBase();
};
class ZLApplication : public ZLApplicationBase {
class ZLCORE_EXPORT ZLApplication : public ZLApplicationBase {
public:
static ZLApplication &Instance();

@ -25,7 +25,7 @@
#include "ZLApplication.h"
#include "ZLToolbar.h"
class ZLApplicationWindow {
class ZLCORE_EXPORT ZLApplicationWindow {
public:
static ZLApplicationWindow &Instance();

@ -20,10 +20,12 @@
#ifndef __ZLASYNCHRONOUSINPUTSTREAM_H__
#define __ZLASYNCHRONOUSINPUTSTREAM_H__
#include "core_export.h"
#include <string>
class ZLAsynchronousInputStream {
class ZLCORE_EXPORT ZLAsynchronousInputStream {
public:
class Handler {

@ -24,7 +24,7 @@
#include <ZLImage.h>
class ZLBase64EncodedImage : public ZLSingleImage {
class ZLCORE_EXPORT ZLBase64EncodedImage : public ZLSingleImage {
public:
ZLBase64EncodedImage(shared_ptr<ZLMimeType> mimeType);

@ -22,7 +22,7 @@
#include <ZLInputStream.h>
class ZLBase64InputStream : public ZLInputStream {
class ZLCORE_EXPORT ZLBase64InputStream : public ZLInputStream {
public:
ZLBase64InputStream(shared_ptr<ZLInputStream> base);
~ZLBase64InputStream();

@ -31,7 +31,7 @@
class ZLBlockTreeView;
class ZLBlockTreeNode : public ZLObjectWithRTTI {
class ZLCORE_EXPORT ZLBlockTreeNode : public ZLObjectWithRTTI {
public:
typedef std::vector<ZLBlockTreeNode*> List;

@ -24,7 +24,7 @@
#include <ZLBlockTreeNode.h>
class ZLBlockTreeView : public ZLView {
class ZLCORE_EXPORT ZLBlockTreeView : public ZLView {
public:
class RootNode : public ZLBlockTreeNode {

@ -33,7 +33,7 @@
class ZLFSCompressorBzip2;
class ZLBzip2InputStream : public ZLInputStream {
class ZLCORE_EXPORT ZLBzip2InputStream : public ZLInputStream {
private:
ZLBzip2InputStream(shared_ptr<ZLInputStream> base);

@ -20,9 +20,11 @@
#ifndef __ZLCHARSEQUENCE_H__
#define __ZLCHARSEQUENCE_H__
#include "core_export.h"
#include <string>
class ZLCharSequence {
class ZLCORE_EXPORT ZLCharSequence {
public:
ZLCharSequence();

@ -25,7 +25,7 @@
#include <shared_ptr.h>
#include <ZLOptionEntry.h>
class ZLColorOptionBuilder {
class ZLCORE_EXPORT ZLColorOptionBuilder {
public:
ZLColorOptionBuilder();

@ -20,12 +20,14 @@
#ifndef __ZLCONFIG_H__
#define __ZLCONFIG_H__
#include "core_export.h"
#include <vector>
#include <string>
class ZLConfig;
class ZLConfigManager {
class ZLCORE_EXPORT ZLConfigManager {
private:
static ZLConfigManager &Instance() {
@ -55,7 +57,7 @@ protected:
friend class ZLOption;
};
class ZLConfig {
class ZLCORE_EXPORT ZLConfig {
public:
virtual ~ZLConfig();

@ -24,7 +24,7 @@
#include "ZLApplicationWindow.h"
class ZLDesktopApplicationWindow : public ZLApplicationWindow {
class ZLCORE_EXPORT ZLDesktopApplicationWindow : public ZLApplicationWindow {
public:
ZLDesktopApplicationWindow(ZLApplication *application);

@ -23,7 +23,7 @@
#include <ZLOpenFileDialog.h>
#include <ZLOptions.h>
class ZLDesktopOpenFileDialog : public ZLOpenFileDialog {
class ZLCORE_EXPORT ZLDesktopOpenFileDialog : public ZLOpenFileDialog {
protected:
ZLDesktopOpenFileDialog();

@ -24,7 +24,7 @@
#include <ZLOptionsDialog.h>
class ZLDesktopOptionsDialog : public ZLOptionsDialog {
class ZLCORE_EXPORT ZLDesktopOptionsDialog : public ZLOptionsDialog {
protected:
ZLDesktopOptionsDialog(const ZLResource &resource, shared_ptr<ZLRunnable> applyAction);

@ -24,7 +24,7 @@
#include <ZLDialogContent.h>
#include <ZLResource.h>
class ZLDialog {
class ZLCORE_EXPORT ZLDialog {
protected:
ZLDialog();

@ -29,7 +29,7 @@
class ZLOptionEntry;
class ZLOptionView;
class ZLDialogContent {
class ZLCORE_EXPORT ZLDialogContent {
protected:
ZLDialogContent(const ZLResource &resource);

@ -20,9 +20,11 @@
#ifndef __ZLDIALOGCONTENTBUILDER_H__
#define __ZLDIALOGCONTENTBUILDER_H__
#include "core_export.h"
class ZLOptionsDialog;
class ZLDialogContentBuilder {
class ZLCORE_EXPORT ZLDialogContentBuilder {
public:
virtual ~ZLDialogContentBuilder();

@ -35,7 +35,7 @@ class ZLApplication;
class ZLImageData;
class ZLProgressDialog;
class ZLDialogManager {
class ZLCORE_EXPORT ZLDialogManager {
public:
static const ZLResourceKey OK_BUTTON;

@ -25,7 +25,7 @@
#include <shared_ptr.h>
class ZLDir {
class ZLCORE_EXPORT ZLDir {
public:
static shared_ptr<ZLDir> root();

@ -26,7 +26,7 @@
#include <shared_ptr.h>
class ZLEncodingConverter {
class ZLCORE_EXPORT ZLEncodingConverter {
public:
static const std::string ASCII;
@ -49,7 +49,7 @@ private:
ZLEncodingConverter &operator = (const ZLEncodingConverter&);
};
class ZLEncodingConverterInfo {
class ZLCORE_EXPORT ZLEncodingConverterInfo {
public:
ZLEncodingConverterInfo(const std::string &name, const std::string &region);
@ -73,7 +73,7 @@ private:
typedef shared_ptr<ZLEncodingConverterInfo> ZLEncodingConverterInfoPtr;
class ZLEncodingSet {
class ZLCORE_EXPORT ZLEncodingSet {
public:
ZLEncodingSet(const std::string &name);
@ -93,7 +93,7 @@ private:
class ZLEncodingConverterProvider;
class ZLEncodingCollection {
class ZLCORE_EXPORT ZLEncodingCollection {
public:
static ZLEncodingCollection &Instance();

@ -26,7 +26,7 @@
class ZLEncodingConverter;
class ZLEncodingConverterProvider {
class ZLCORE_EXPORT ZLEncodingConverterProvider {
protected:
ZLEncodingConverterProvider();

@ -23,7 +23,7 @@
#include <ZLUserData.h>
#include "ZLNetworkRequest.h"
class ZLExecutionUtil {
class ZLCORE_EXPORT ZLExecutionUtil {
//code for convenient async syntax createListener method:
public:
template <typename T, typename Method>

@ -22,7 +22,7 @@
#include "ZLFSPlugin.h"
class ZLFSArchiverTar : public ZLFSArchiver {
class ZLCORE_EXPORT ZLFSArchiverTar : public ZLFSArchiver {
public:
ZLFSArchiverTar();

@ -22,7 +22,7 @@
#include "ZLFSPlugin.h"
class ZLFSArchiverZip : public ZLFSArchiver {
class ZLCORE_EXPORT ZLFSArchiverZip : public ZLFSArchiver {
public:
ZLFSArchiverZip();

@ -22,7 +22,7 @@
#include "ZLFSPlugin.h"
class ZLFSCompressorBzip2 : public ZLFSCompressor {
class ZLCORE_EXPORT ZLFSCompressorBzip2 : public ZLFSCompressor {
public:
ZLFSCompressorBzip2();

@ -22,7 +22,7 @@
#include "ZLFSPlugin.h"
class ZLFSCompressorGzip : public ZLFSCompressor {
class ZLCORE_EXPORT ZLFSCompressorGzip : public ZLFSCompressor {
public:
ZLFSCompressorGzip();

@ -22,7 +22,7 @@
#include "ZLDir.h"
class ZLFSDir : public ZLDir {
class ZLCORE_EXPORT ZLFSDir : public ZLDir {
protected:
ZLFSDir(const std::string &path);

@ -32,7 +32,7 @@ class ZLInputStream;
class ZLOutputStream;
class ZLFSPluginManager;
class ZLFSManager {
class ZLCORE_EXPORT ZLFSManager {
public:
static void deleteInstance();

@ -20,12 +20,14 @@
#ifndef __ZLFSPLUGIN_H__
#define __ZLFSPLUGIN_H__
#include "core_export.h"
#include <string>
#include <ZLFile.h>
#include <ZLUnicodeUtil.h>
class ZLFSCompressor {
class ZLCORE_EXPORT ZLFSCompressor {
public:
ZLFSCompressor();
@ -40,7 +42,7 @@ public:
inline ZLFSCompressor::ZLFSCompressor() {}
inline ZLFSCompressor::~ZLFSCompressor() {}
class ZLFSArchiver {
class ZLCORE_EXPORT ZLFSArchiver {
public:
ZLFSArchiver();

@ -30,7 +30,7 @@
class ZLFile;
class ZLFSPluginManager {
class ZLCORE_EXPORT ZLFSPluginManager {
public:
ZLFSPluginManager();

@ -34,7 +34,7 @@ class ZLFSCompressor;
class ZLFSArchiver;
class ZLFSPluginManager;
class ZLFile {
class ZLCORE_EXPORT ZLFile {
friend class ZLFSPluginManager;
friend class ZLFSArchiver;

@ -20,13 +20,15 @@
#ifndef __ZLFILEIMAGE_H__
#define __ZLFILEIMAGE_H__
#include "core_export.h"
#include <string>
#include <vector>
#include <ZLFile.h>
#include <ZLImage.h>
class ZLFileImage : public ZLSingleImage {
class ZLCORE_EXPORT ZLFileImage : public ZLSingleImage {
public:
struct Block {

@ -20,9 +20,11 @@
#ifndef __ZLFILEUTIL_H__
#define __ZLFILEUTIL_H__
#include "core_export.h"
#include <string>
class ZLFileUtil {
class ZLCORE_EXPORT ZLFileUtil {
public:
static std::string normalizeUnixPath(const std::string &path);

@ -26,7 +26,7 @@
class ZLPaintContext;
class ZLFontFamilyOptionEntry : public ZLComboOptionEntry {
class ZLCORE_EXPORT ZLFontFamilyOptionEntry : public ZLComboOptionEntry {
public:
ZLFontFamilyOptionEntry(ZLStringOption &option, const ZLPaintContext &context);

@ -26,7 +26,7 @@
#include "ZLAsynchronousInputStream.h"
class ZLGzipAsynchronousInputStream : public ZLAsynchronousInputStream {
class ZLCORE_EXPORT ZLGzipAsynchronousInputStream : public ZLAsynchronousInputStream {
public:
ZLGzipAsynchronousInputStream(const char *encoding = 0);

@ -24,7 +24,7 @@
#include <ZLImage.h>
class ZLHexEncodedImage : public ZLSingleImage {
class ZLCORE_EXPORT ZLHexEncodedImage : public ZLSingleImage {
public:
ZLHexEncodedImage(shared_ptr<ZLMimeType> mimeType, shared_ptr<std::string> encodedData);

@ -22,7 +22,7 @@
#include <ZLInputStream.h>
class ZLHexInputStream : public ZLInputStream {
class ZLCORE_EXPORT ZLHexInputStream : public ZLInputStream {
public:
ZLHexInputStream(shared_ptr<ZLInputStream> base);
~ZLHexInputStream();

@ -28,7 +28,7 @@
class ZLNetworkRequest;
class ZLImage {
class ZLCORE_EXPORT ZLImage {
protected:
ZLImage();
@ -40,7 +40,7 @@ public:
virtual bool good() const = 0;
};
class ZLSingleImage : public ZLImage {
class ZLCORE_EXPORT ZLSingleImage : public ZLImage {
protected:
ZLSingleImage(shared_ptr<ZLMimeType> mimeType);
@ -56,7 +56,7 @@ private:
shared_ptr<ZLMimeType> myMimeType;
};
class ZLMultiImage : public ZLImage {
class ZLCORE_EXPORT ZLMultiImage : public ZLImage {
protected:
ZLMultiImage();

@ -28,7 +28,7 @@
class ZLImage;
class ZLMultiImage;
class ZLImageData {
class ZLCORE_EXPORT ZLImageData {
protected:
ZLImageData() {}
@ -49,7 +49,7 @@ public:
virtual void copyFrom(const ZLImageData &source, unsigned int targetX, unsigned int targetY) = 0;
};
class ZLImageManager {
class ZLCORE_EXPORT ZLImageManager {
public:
static const ZLImageManager &Instance();

@ -25,7 +25,7 @@
#include <shared_ptr.h>
#include <ZLUserData.h>
class ZLInputStream : public ZLUserDataHolder {
class ZLCORE_EXPORT ZLInputStream : public ZLUserDataHolder {
protected:
ZLInputStream();
@ -46,7 +46,7 @@ private:
const ZLInputStream &operator = (const ZLInputStream&);
};
class ZLInputStreamDecorator : public ZLInputStream {
class ZLCORE_EXPORT ZLInputStreamDecorator : public ZLInputStream {
public:
ZLInputStreamDecorator(shared_ptr<ZLInputStream> decoratee);

@ -20,10 +20,12 @@
#ifndef __ZLKEYBINDINGS_H__
#define __ZLKEYBINDINGS_H__
#include "core_export.h"
#include <map>
#include <string>
class ZLKeyBindings {
class ZLCORE_EXPORT ZLKeyBindings {
public:
ZLKeyBindings(const std::string &name);

@ -20,10 +20,12 @@
#ifndef __ZLKEYUTIL_H__
#define __ZLKEYUTIL_H__
#include "core_export.h"
#include <string>
#include <map>
class ZLKeyUtil {
class ZLCORE_EXPORT ZLKeyUtil {
private:
static bool ourInitialized;

@ -20,6 +20,8 @@
#ifndef __ZLLANGUAGEDETECTOR_H__
#define __ZLLANGUAGEDETECTOR_H__
#include "core_export.h"
#include <vector>
#include <string>
@ -27,7 +29,7 @@
class ZLStatisticsBasedMatcher;
class ZLLanguageDetector {
class ZLCORE_EXPORT ZLLanguageDetector {
public:
struct LanguageInfo {

@ -24,7 +24,7 @@
#include <ZLDir.h>
class ZLLanguageList {
class ZLCORE_EXPORT ZLLanguageList {
public:
static std::string patternsDirectoryPath();

@ -24,7 +24,7 @@
#include "ZLStatistics.h"
class ZLLanguageMatcher {
class ZLCORE_EXPORT ZLLanguageMatcher {
public:
ZLLanguageMatcher(shared_ptr<ZLLanguageDetector::LanguageInfo> info);
@ -36,7 +36,7 @@ private:
shared_ptr<ZLLanguageDetector::LanguageInfo> myInfo;
};
class ZLStatisticsBasedMatcher : public ZLLanguageMatcher {
class ZLCORE_EXPORT ZLStatisticsBasedMatcher : public ZLLanguageMatcher {
public:
ZLStatisticsBasedMatcher(const std::string &fileName, shared_ptr<ZLLanguageDetector::LanguageInfo> info);

@ -24,7 +24,7 @@
#include <ZLOptionEntry.h>
class ZLAbstractLanguageOptionEntry : public ZLComboOptionEntry {
class ZLCORE_EXPORT ZLAbstractLanguageOptionEntry : public ZLComboOptionEntry {
public:
ZLAbstractLanguageOptionEntry(const std::string &initialCode, const std::vector<std::string> &languageCodes);
@ -42,7 +42,7 @@ private:
};
class ZLLanguageOptionEntry : public ZLAbstractLanguageOptionEntry {
class ZLCORE_EXPORT ZLLanguageOptionEntry : public ZLAbstractLanguageOptionEntry {
public:
ZLLanguageOptionEntry(ZLStringOption &languageOption, const std::vector<std::string> &languageCodes);

@ -20,9 +20,11 @@
#ifndef __ZLLANGUAGEUTIL_H__
#define __ZLLANGUAGEUTIL_H__
#include "core_export.h"
#include <string>
class ZLLanguageUtil {
class ZLCORE_EXPORT ZLLanguageUtil {
public:
static const std::string OtherLanguageCode;

@ -20,10 +20,12 @@
#ifndef __ZLLOGGER_H__
#define __ZLLOGGER_H__
#include "core_export.h"
#include <string>
#include <set>
class ZLLogger {
class ZLCORE_EXPORT ZLLogger {
public:
static const std::string DEFAULT_CLASS;

@ -26,7 +26,7 @@
#include <shared_ptr.h>
#include <ZLResource.h>
class ZLMenu {
class ZLCORE_EXPORT ZLMenu {
public:
class Item {
@ -72,7 +72,7 @@ private:
friend class ZLApplication;
};
class ZLMenubar : public ZLMenu {
class ZLCORE_EXPORT ZLMenubar : public ZLMenu {
public:
class PlainItem : public ZLMenu::Item {
@ -108,7 +108,7 @@ public:
friend class ZLApplication;
};
class ZLMenuVisitor {
class ZLCORE_EXPORT ZLMenuVisitor {
public:
virtual ~ZLMenuVisitor();

@ -31,7 +31,7 @@ class ZLMessageSender;
class ZLMessageHandler;
class ZLCommunicationManager {
class ZLCORE_EXPORT ZLCommunicationManager {
public:
static ZLCommunicationManager &Instance();
@ -66,7 +66,7 @@ private:
const ZLCommunicationManager &operator = (const ZLCommunicationManager&);
};
class ZLMessageOutputChannel {
class ZLCORE_EXPORT ZLMessageOutputChannel {
public:
virtual ~ZLMessageOutputChannel();
@ -74,7 +74,7 @@ public:
virtual shared_ptr<ZLMessageSender> createSender(const ZLCommunicationManager::Data &data) = 0;
};
class ZLMessageSender {
class ZLCORE_EXPORT ZLMessageSender {
public:
virtual ~ZLMessageSender();
@ -82,7 +82,7 @@ public:
virtual void sendStringMessage(const std::string &message) = 0;
};
class ZLMessageHandler {
class ZLCORE_EXPORT ZLMessageHandler {
public:
virtual ~ZLMessageHandler();

@ -24,7 +24,7 @@
#include <shared_ptr.h>
#include <map>
class ZLMimeType {
class ZLCORE_EXPORT ZLMimeType {
private:

@ -26,7 +26,7 @@
#include <ZLColor.h>
#include <ZLPaintContext.h>
class ZLMirroredPaintContext : public ZLPaintContext {
class ZLCORE_EXPORT ZLMirroredPaintContext : public ZLPaintContext {
public:
ZLMirroredPaintContext(ZLPaintContext &base);

@ -25,7 +25,7 @@
class ZLOutputStream;
class ZLNetworkDownloadRequest : public ZLNetworkRequest {
class ZLCORE_EXPORT ZLNetworkDownloadRequest : public ZLNetworkRequest {
public:
ZLNetworkDownloadRequest(const std::string &url, const std::string &fileName);

@ -24,7 +24,7 @@
class ZLFileImage;
class ZLNetworkImage : public ZLSingleImage {
class ZLCORE_EXPORT ZLNetworkImage : public ZLSingleImage {
public:
ZLNetworkImage(shared_ptr<ZLMimeType> mimeType, const std::string &url);

@ -32,7 +32,7 @@ class ZLNetworkData;
class ZLOutputStream;
class ZLXMLReader;
class ZLNetworkManager {
class ZLCORE_EXPORT ZLNetworkManager {
public:
static void deleteInstance();

@ -23,7 +23,7 @@
#include "ZLNetworkRequest.h"
class ZLNetworkNoActionRequest : public ZLNetworkRequest {
class ZLCORE_EXPORT ZLNetworkNoActionRequest : public ZLNetworkRequest {
public:
ZLNetworkNoActionRequest(const std::string &url);

@ -22,8 +22,7 @@
#include "ZLNetworkRequest.h"
class ZLNetworkReadToStringRequest : public ZLNetworkRequest {
class ZLCORE_EXPORT ZLNetworkReadToStringRequest : public ZLNetworkRequest {
public:
ZLNetworkReadToStringRequest(const std::string &url, std::string &buffer);

@ -25,7 +25,7 @@
#include <shared_ptr.h>
class ZLNetworkRequest {
class ZLCORE_EXPORT ZLNetworkRequest {
public:
typedef std::vector<shared_ptr<ZLNetworkRequest> > Vector;

@ -20,9 +20,11 @@
#ifndef __ZLNETWORKUTIL_H__
#define __ZLNETWORKUTIL_H__
#include "core_export.h"
#include <string>
class ZLNetworkUtil {
class ZLCORE_EXPORT ZLNetworkUtil {
public:
static std::string htmlEncode(const std::string &stringToEncode);

@ -20,14 +20,15 @@
#ifndef __ZLNETWORKXMLPARSERREQUEST_H__
#define __ZLNETWORKXMLPARSERREQUEST_H__
#include <ZLRunnable.h>
#include "core_export.h"
#include <ZLRunnable.h>
#include "ZLNetworkRequest.h"
class ZLXMLReader;
class ZLAsynchronousInputStream;
class ZLNetworkXMLParserRequest : public ZLNetworkRequest {
class ZLCORE_EXPORT ZLNetworkXMLParserRequest : public ZLNetworkRequest {
public:
ZLNetworkXMLParserRequest(const std::string &url, shared_ptr<ZLXMLReader> reader, shared_ptr<ZLRunnable> runnable = 0);

@ -20,11 +20,13 @@
#ifndef __ZLOPENFILEDIALOG_H__
#define __ZLOPENFILEDIALOG_H__
#include "core_export.h"
#include <string>
class ZLFile;
class ZLOpenFileDialog {
class ZLCORE_EXPORT ZLOpenFileDialog {
public:
class Filter {

@ -20,6 +20,8 @@
#ifndef __ZLOPTIONENTRY_H__
#define __ZLOPTIONENTRY_H__
#include "core_export.h"
#include <vector>
#include <string>
@ -27,7 +29,7 @@
class ZLOptionView;
class ZLOptionEntry {
class ZLCORE_EXPORT ZLOptionEntry {
public:
enum ZLOptionKind {
@ -65,7 +67,7 @@ private:
bool myIsActive;
};
class ZLChoiceOptionEntry : public ZLOptionEntry {
class ZLCORE_EXPORT ZLChoiceOptionEntry : public ZLOptionEntry {
protected:
ZLChoiceOptionEntry();
@ -79,7 +81,7 @@ public:
virtual void onAccept(int index) = 0;
};
class ZLTextOptionEntry : public ZLOptionEntry {
class ZLCORE_EXPORT ZLTextOptionEntry : public ZLOptionEntry {
public:
virtual const std::string &initialValue() const = 0;
@ -90,7 +92,7 @@ public:
virtual void onValueEdited(const std::string &value);
};
class ZLStringOptionEntry : public ZLTextOptionEntry {
class ZLCORE_EXPORT ZLStringOptionEntry : public ZLTextOptionEntry {
protected:
ZLStringOptionEntry();
@ -99,7 +101,7 @@ public:
ZLOptionKind kind() const;
};
class ZLPasswordOptionEntry : public ZLTextOptionEntry {
class ZLCORE_EXPORT ZLPasswordOptionEntry : public ZLTextOptionEntry {
protected:
ZLPasswordOptionEntry();
@ -108,7 +110,7 @@ public:
ZLOptionKind kind() const;
};
class ZLMultilineOptionEntry : public ZLTextOptionEntry {
class ZLCORE_EXPORT ZLMultilineOptionEntry : public ZLTextOptionEntry {
protected:
ZLMultilineOptionEntry();
@ -117,7 +119,7 @@ public:
ZLOptionKind kind() const;
};
class ZLBooleanOptionEntry : public ZLOptionEntry {
class ZLCORE_EXPORT ZLBooleanOptionEntry : public ZLOptionEntry {
protected:
ZLBooleanOptionEntry();
@ -130,7 +132,7 @@ public:
virtual void onAccept(bool state) = 0;
};
class ZLBoolean3OptionEntry : public ZLOptionEntry {
class ZLCORE_EXPORT ZLBoolean3OptionEntry : public ZLOptionEntry {
protected:
ZLBoolean3OptionEntry();
@ -143,7 +145,7 @@ public:
virtual void onAccept(ZLBoolean3 state) = 0;
};
class ZLSpinOptionEntry : public ZLOptionEntry {
class ZLCORE_EXPORT ZLSpinOptionEntry : public ZLOptionEntry {
protected:
ZLSpinOptionEntry();
@ -158,7 +160,7 @@ public:
virtual void onAccept(int value) = 0;
};
class ZLComboOptionEntry : public ZLOptionEntry {
class ZLCORE_EXPORT ZLComboOptionEntry : public ZLOptionEntry {
protected:
ZLComboOptionEntry(bool editable = false);
@ -183,7 +185,7 @@ private:
const bool myEditable;
};
class ZLColorOptionEntry : public ZLOptionEntry {
class ZLCORE_EXPORT ZLColorOptionEntry : public ZLOptionEntry {
protected:
ZLColorOptionEntry();
@ -197,7 +199,7 @@ public:
virtual void onReset(ZLColor color);
};
class ZLKeyOptionEntry : public ZLOptionEntry {
class ZLCORE_EXPORT ZLKeyOptionEntry : public ZLOptionEntry {
public:
ZLKeyOptionEntry();
@ -215,7 +217,7 @@ private:
std::vector<std::string> myActionNames;
};
class ZLOrderOptionEntry : public ZLOptionEntry {
class ZLCORE_EXPORT ZLOrderOptionEntry : public ZLOptionEntry {
public:
ZLOrderOptionEntry();
@ -228,7 +230,7 @@ private:
std::vector<std::string> myValues;
};
class ZLStaticTextOptionEntry : public ZLOptionEntry {
class ZLCORE_EXPORT ZLStaticTextOptionEntry : public ZLOptionEntry {
public:
virtual ZLOptionKind kind() const;

@ -26,7 +26,7 @@
class ZLOptionEntry;
class ZLOptionView {
class ZLCORE_EXPORT ZLOptionView {
public:
ZLOptionView(const std::string &name, const std::string &tooltip, shared_ptr<ZLOptionEntry> option);

@ -20,13 +20,15 @@
#ifndef __ZLOPTIONS_H__
#define __ZLOPTIONS_H__
#include "core_export.h"
#include <vector>
#include <string>
#include <ZLColor.h>
#include <ZLBoolean3.h>
class ZLCategoryKey {
class ZLCORE_EXPORT ZLCategoryKey {
public:
static const ZLCategoryKey EMPTY;
@ -48,7 +50,7 @@ public:
class ZLConfig;
class ZLOption {
class ZLCORE_EXPORT ZLOption {
private:
static ZLConfig *ourConfig;
@ -99,7 +101,7 @@ private:
const ZLOption &operator = (const ZLOption&);
};
class ZLSimpleOption : public ZLOption {
class ZLCORE_EXPORT ZLSimpleOption : public ZLOption {
public:
enum Type {
@ -116,7 +118,7 @@ public:
virtual Type type() const = 0;
};
class ZLBooleanOption : public ZLSimpleOption {
class ZLCORE_EXPORT ZLBooleanOption : public ZLSimpleOption {
public:
ZLBooleanOption(const ZLCategoryKey &category, const std::string &group, const std::string &optionName, bool defaultValue);
@ -130,7 +132,7 @@ private:
const bool myDefaultValue;
};
class ZLBoolean3Option : public ZLSimpleOption {
class ZLCORE_EXPORT ZLBoolean3Option : public ZLSimpleOption {
public:
ZLBoolean3Option(const ZLCategoryKey &category, const std::string &group, const std::string &optionName, ZLBoolean3 defaultValue);
@ -144,7 +146,7 @@ private:
const ZLBoolean3 myDefaultValue;
};
class ZLIntegerOption : public ZLOption {
class ZLCORE_EXPORT ZLIntegerOption : public ZLOption {
public:
ZLIntegerOption(const ZLCategoryKey &category, const std::string &group, const std::string &optionName, long defaultValue);
@ -157,7 +159,7 @@ private:
const long myDefaultValue;
};
class ZLIntegerRangeOption : public ZLOption {
class ZLCORE_EXPORT ZLIntegerRangeOption : public ZLOption {
public:
ZLIntegerRangeOption(const ZLCategoryKey &category, const std::string &group, const std::string &optionName, long minValue, long maxValue, long defaultValue);
@ -174,7 +176,7 @@ private:
const long myDefaultValue;
};
class ZLColorOption : public ZLOption {
class ZLCORE_EXPORT ZLColorOption : public ZLOption {
public:
ZLColorOption(const ZLCategoryKey &category, const std::string &group, const std::string &optionName, ZLColor defaultValue);
@ -187,7 +189,7 @@ private:
const long myDefaultIntValue;
};
class ZLDoubleOption : public ZLOption {
class ZLCORE_EXPORT ZLDoubleOption : public ZLOption {
public:
ZLDoubleOption(const ZLCategoryKey &category, const std::string &group, const std::string &optionName, double defaultValue);
@ -200,7 +202,7 @@ private:
const double myDefaultValue;
};
class ZLStringOption : public ZLSimpleOption {
class ZLCORE_EXPORT ZLStringOption : public ZLSimpleOption {
public:
ZLStringOption(const ZLCategoryKey &category, const std::string &group, const std::string &optionName, const std::string &defaultValue);

@ -34,7 +34,7 @@ class ZLOptionEntry;
class ZLDialogContentBuilder;
class ZLOptionsDialog {
class ZLCORE_EXPORT ZLOptionsDialog {
protected:
static void addPlatformDependentBuilder(shared_ptr<ZLDialogContentBuilder> builder);

@ -20,9 +20,11 @@
#ifndef __ZLOUTPUTSTREAM_H__
#define __ZLOUTPUTSTREAM_H__
#include "core_export.h"
#include <string>
class ZLOutputStream {
class ZLCORE_EXPORT ZLOutputStream {
protected:
ZLOutputStream();

@ -26,7 +26,7 @@
#include <ZLColor.h>
#include <ZLImageManager.h>
class ZLPaintContext {
class ZLCORE_EXPORT ZLPaintContext {
public:
enum LineStyle {

@ -20,10 +20,10 @@
#ifndef __ZLPLAINASYNCHRONOUSINPUTSTREAM_H__
#define __ZLPLAINASYNCHRONOUSINPUTSTREAM_H__
#include "core_export.h"
#include <ZLAsynchronousInputStream.h>
class ZLPlainAsynchronousInputStream : public ZLAsynchronousInputStream {
class ZLCORE_EXPORT ZLPlainAsynchronousInputStream : public ZLAsynchronousInputStream {
public:
ZLPlainAsynchronousInputStream(const char *encoding = 0);

@ -24,7 +24,7 @@
#include <ZLResource.h>
class ZLPopupData {
class ZLCORE_EXPORT ZLPopupData {
public:
virtual ~ZLPopupData();

@ -24,7 +24,7 @@
#include <ZLNetworkRequest.h>
#include <ZLRunnable.h>
class ZLProgressDialog {
class ZLCORE_EXPORT ZLProgressDialog {
private:
class ProgressListener;

@ -20,6 +20,8 @@
#ifndef __ZLRESOURCE_H__
#define __ZLRESOURCE_H__
#include "core_export.h"
#include <string>
struct ZLResourceKey {
@ -29,7 +31,7 @@ struct ZLResourceKey {
std::string Name;
};
class ZLResource {
class ZLCORE_EXPORT ZLResource {
public:
static const ZLResource &resource(const std::string &key);

@ -20,19 +20,21 @@
#ifndef __ZLRUNNABLE_H__
#define __ZLRUNNABLE_H__
#include "core_export.h"
#include <string>
class ZLResource;
struct ZLResourceKey;
class ZLRunnable {
class ZLCORE_EXPORT ZLRunnable {
public:
virtual ~ZLRunnable();
virtual void run() = 0;
};
class ZLRunnableWithKey : public ZLRunnable {
class ZLCORE_EXPORT ZLRunnableWithKey : public ZLRunnable {
public:
virtual ZLResourceKey key() const = 0;

@ -20,9 +20,11 @@
#ifndef __ZLSEARCHUTIL_H__
#define __ZLSEARCHUTIL_H__
#include "core_export.h"
#include <string>
class ZLSearchPattern {
class ZLCORE_EXPORT ZLSearchPattern {
public:
ZLSearchPattern(const std::string &pattern, bool ignoreCase);
@ -42,7 +44,7 @@ private:
friend class ZLSearchUtil;
};
class ZLSearchUtil {
class ZLCORE_EXPORT ZLSearchUtil {
private:
ZLSearchUtil();

@ -27,7 +27,7 @@
class ZLKeyBindings;
class ZLSimpleKeyOptionEntry : public ZLKeyOptionEntry {
class ZLCORE_EXPORT ZLSimpleKeyOptionEntry : public ZLKeyOptionEntry {
public:
class CodeIndexBimap {

@ -22,7 +22,7 @@
#include <ZLOptionEntry.h>
class ZLSimpleStringOptionEntry : public ZLStringOptionEntry {
class ZLCORE_EXPORT ZLSimpleStringOptionEntry : public ZLStringOptionEntry {
public:
ZLSimpleStringOptionEntry(ZLStringOption &option);
@ -33,7 +33,7 @@ private:
ZLStringOption &myOption;
};
class ZLSimpleBooleanOptionEntry : public ZLBooleanOptionEntry {
class ZLCORE_EXPORT ZLSimpleBooleanOptionEntry : public ZLBooleanOptionEntry {
public:
ZLSimpleBooleanOptionEntry(ZLBooleanOption &option);
@ -44,7 +44,7 @@ private:
ZLBooleanOption &myOption;
};
class ZLSimpleSpinOptionEntry : public ZLSpinOptionEntry {
class ZLCORE_EXPORT ZLSimpleSpinOptionEntry : public ZLSpinOptionEntry {
public:
ZLSimpleSpinOptionEntry(ZLIntegerRangeOption &option, int step);
@ -59,7 +59,7 @@ private:
int myStep;
};
class ZLSimpleBoolean3OptionEntry : public ZLBoolean3OptionEntry {
class ZLCORE_EXPORT ZLSimpleBoolean3OptionEntry : public ZLBoolean3OptionEntry {
public:
ZLSimpleBoolean3OptionEntry(ZLBoolean3Option &option);
@ -71,7 +71,7 @@ private:
};
/*
class ZLSimpleColorOptionEntry : public ZLColorOptionEntry {
class ZLCORE_EXPORT ZLSimpleColorOptionEntry : public ZLColorOptionEntry {
public:
ZLSimpleColorOptionEntry(ZLColorOption &option);
@ -83,7 +83,7 @@ private:
};
*/
class ZLSimpleStaticTextOptionEntry : public ZLStaticTextOptionEntry {
class ZLCORE_EXPORT ZLSimpleStaticTextOptionEntry : public ZLStaticTextOptionEntry {
public:
ZLSimpleStaticTextOptionEntry(const std::string &text);

@ -22,7 +22,7 @@
#include <ZLInputStream.h>
class ZLSliceInputStream : public ZLInputStream {
class ZLCORE_EXPORT ZLSliceInputStream : public ZLInputStream {
public:
ZLSliceInputStream(shared_ptr<ZLInputStream> base, std::size_t start, std::size_t length);

@ -28,7 +28,7 @@
#include "ZLCharSequence.h"
#include "ZLStatisticsItem.h"
class ZLStatistics {
class ZLCORE_EXPORT ZLStatistics {
public:
ZLStatistics();

@ -20,11 +20,13 @@
#ifndef __ZLSTATISTICSGENERATOR_H__
#define __ZLSTATISTICSGENERATOR_H__
#include "core_export.h"
#include <string>
class ZLMapBasedStatistics;
class ZLStatisticsGenerator {
class ZLCORE_EXPORT ZLStatisticsGenerator {
public:
ZLStatisticsGenerator(const std::string &breakSymbols);

@ -27,7 +27,7 @@
class ZLCharSequence;
class ZLStatisticsXMLReader : public ZLXMLReader {
class ZLCORE_EXPORT ZLStatisticsXMLReader : public ZLXMLReader {
public:
shared_ptr<ZLArrayBasedStatistics> readStatistics(const std::string &fileName);

@ -27,7 +27,7 @@
class ZLMapBasedStatistics;
class ZLStatisticsXMLWriter: public ZLXMLWriter {
class ZLCORE_EXPORT ZLStatisticsXMLWriter: public ZLXMLWriter {
public:
ZLStatisticsXMLWriter(ZLOutputStream &stream) : ZLXMLWriter(stream) {}

@ -25,7 +25,7 @@
#include <ZLImage.h>
#include <ZLInputStream.h>
class ZLStreamImage : public ZLSingleImage {
class ZLCORE_EXPORT ZLStreamImage : public ZLSingleImage {
public:
ZLStreamImage(shared_ptr<ZLMimeType> mimeType, std::size_t offset, std::size_t size = 0);

@ -22,7 +22,7 @@
#include <ZLOptionEntry.h>
class ZLStringEditOptionEntry : public ZLStringOptionEntry {
class ZLCORE_EXPORT ZLStringEditOptionEntry : public ZLStringOptionEntry {
public:
ZLStringEditOptionEntry(std::string &value);

@ -24,7 +24,7 @@
#include <ZLOptionEntry.h>
class ZLStringInfoEntry : public ZLStringOptionEntry {
class ZLCORE_EXPORT ZLStringInfoEntry : public ZLStringOptionEntry {
public:
ZLStringInfoEntry(const std::string &value);

@ -20,10 +20,12 @@
#ifndef __ZLSTRINGUTIL_H__
#define __ZLSTRINGUTIL_H__
#include "core_export.h"
#include <vector>
#include <string>
class ZLStringUtil {
class ZLCORE_EXPORT ZLStringUtil {
private:
ZLStringUtil();

@ -27,7 +27,7 @@
class ZLFSArchiverTar;
class ZLTarInputStream : public ZLInputStream {
class ZLCORE_EXPORT ZLTarInputStream : public ZLInputStream {
private:
ZLTarInputStream(shared_ptr<ZLInputStream> &base, const std::string &name);
@ -51,7 +51,7 @@ private:
friend class ZLFSArchiverTar;
};
class ZLTarDir : public ZLDir {
class ZLCORE_EXPORT ZLTarDir : public ZLDir {
private:
ZLTarDir(const std::string &path);

@ -20,7 +20,9 @@
#ifndef __ZLTIME_H__
#define __ZLTIME_H__
class ZLTime {
#include "core_export.h"
class ZLCORE_EXPORT ZLTime {
public:
ZLTime();

@ -27,7 +27,7 @@
class ZLTime;
class ZLTimeManager {
class ZLCORE_EXPORT ZLTimeManager {
private:
class AutoRemovableTask;

@ -22,7 +22,7 @@
#include <ZLSimpleOptionEntry.h>
class ZLToggleBooleanOptionEntry : public ZLSimpleBooleanOptionEntry {
class ZLCORE_EXPORT ZLToggleBooleanOptionEntry : public ZLSimpleBooleanOptionEntry {
public:
ZLToggleBooleanOptionEntry(ZLBooleanOption &option);

@ -31,7 +31,7 @@
class ZLResource;
class ZLPopupData;
class ZLToolbar {
class ZLCORE_EXPORT ZLToolbar {
public:
class Item {

@ -22,7 +22,7 @@
#include "ZLTreeTitledNode.h"
class ZLTreeActionNode : public ZLTreeTitledNode {
class ZLCORE_EXPORT ZLTreeActionNode : public ZLTreeTitledNode {
public:
static const ZLTypeId TYPE_ID;

@ -24,7 +24,7 @@
#include <ZLResource.h>
#include <ZLTreeSearcher.h>
class ZLTreeDialog : public ZLTreeListener {
class ZLCORE_EXPORT ZLTreeDialog : public ZLTreeListener {
protected:
ZLTreeDialog(const ZLResource &resource);

@ -24,7 +24,7 @@
//ZLTreeListener is used to get ability to node to notificate Tree Dialog about any changes
class ZLTreeListener {
class ZLCORE_EXPORT ZLTreeListener {
public:
virtual void onExpandRequest(ZLTreeNode *node) = 0;

@ -60,7 +60,7 @@ class ZLTreeListener;
typedef ZLRunnableWithKey ZLTreeAction;
class ZLTreeNode : public ZLObjectWithRTTI {
class ZLCORE_EXPORT ZLTreeNode : public ZLObjectWithRTTI {
public:
typedef std::vector<ZLTreeNode*> List;

@ -23,7 +23,7 @@
#include "ZLTreeTitledNode.h"
#include <ZLDialogContent.h>
class ZLTreePageInfo {
class ZLCORE_EXPORT ZLTreePageInfo {
public:
virtual bool isPageInfoLoaded() = 0;
@ -40,7 +40,7 @@ public:
virtual const std::vector<shared_ptr<ZLTreeAction> > relatedActions() const = 0;
};
class ZLTreePageNode : public ZLTreeTitledNode {
class ZLCORE_EXPORT ZLTreePageNode : public ZLTreeTitledNode {
public:
ZLTreePageNode(ZLTreeNode *parent = 0, std::size_t position = -1);

@ -20,9 +20,11 @@
#ifndef __ZLTREESEARCHER_H__
#define __ZLTREESEARCHER_H__
#include "core_export.h"
#include <string>
class ZLTreeSearcher {
class ZLCORE_EXPORT ZLTreeSearcher {
public:
virtual void simpleSearch(const std::string &pattern) = 0;
};

@ -23,7 +23,7 @@
#include "ZLTreeNode.h"
#include <ZLImage.h>
class ZLTreeTitledNode : public ZLTreeNode {
class ZLCORE_EXPORT ZLTreeTitledNode : public ZLTreeNode {
public:
static const ZLTypeId TYPE_ID;

@ -20,7 +20,9 @@
#ifndef __ZLTYPEID_H__
#define __ZLTYPEID_H__
class ZLTypeId {
#include "core_export.h"
class ZLCORE_EXPORT ZLTypeId {
private:
ZLTypeId();
@ -38,7 +40,7 @@ private:
friend class ZLObjectWithRTTI;
};
class ZLObjectWithRTTI {
class ZLCORE_EXPORT ZLObjectWithRTTI {
public:
static const ZLTypeId TYPE_ID;

@ -20,11 +20,13 @@
#ifndef __ZLUNICODEUTIL_H__
#define __ZLUNICODEUTIL_H__
#include "core_export.h"
#include <stdint.h>
#include <string>
#include <vector>
class ZLUnicodeUtil {
class ZLCORE_EXPORT ZLUnicodeUtil {
private:
ZLUnicodeUtil();

@ -22,7 +22,7 @@
#include "ZLFSDir.h"
class ZLUnixFSDir : public ZLFSDir {
class ZLCORE_EXPORT ZLUnixFSDir : public ZLFSDir {
public:
ZLUnixFSDir(const std::string &name) : ZLFSDir(name) {}

@ -20,9 +20,11 @@
#ifndef __ZLUNIXFSMANAGER_H__
#define __ZLUNIXFSMANAGER_H__
#include "core_export.h"
#include "ZLFSManager.h"
class ZLUnixFSManager : public ZLFSManager {
class ZLCORE_EXPORT ZLUnixFSManager : public ZLFSManager {
protected:
void normalizeRealPath(std::string &path) const;

@ -24,7 +24,7 @@
#include <ZLInputStream.h>
class ZLUnixFileInputStream : public ZLInputStream {
class ZLCORE_EXPORT ZLUnixFileInputStream : public ZLInputStream {
public:
ZLUnixFileInputStream(const std::string &name);

@ -24,7 +24,7 @@
#include <ZLOutputStream.h>
class ZLUnixFileOutputStream : public ZLOutputStream {
class ZLCORE_EXPORT ZLUnixFileOutputStream : public ZLOutputStream {
public:
ZLUnixFileOutputStream(const std::string &name);

@ -24,7 +24,7 @@
#include <ZLMessage.h>
class ZLUnixCommunicationManager : public ZLCommunicationManager {
class ZLCORE_EXPORT ZLUnixCommunicationManager : public ZLCommunicationManager {
public:
static void createInstance();
@ -36,13 +36,13 @@ private:
ZLUnixCommunicationManager();
};
class ZLUnixExecMessageOutputChannel : public ZLMessageOutputChannel {
class ZLCORE_EXPORT ZLUnixExecMessageOutputChannel : public ZLMessageOutputChannel {
public:
shared_ptr<ZLMessageSender> createSender(const ZLCommunicationManager::Data &data);
};
class ZLUnixExecMessageSender : public ZLMessageSender {
class ZLCORE_EXPORT ZLUnixExecMessageSender : public ZLMessageSender {
private:
ZLUnixExecMessageSender(const std::string &command);

@ -22,7 +22,7 @@
#include <ZLTimeManager.h>
class ZLUnixTimeManager : public ZLTimeManager {
class ZLCORE_EXPORT ZLUnixTimeManager : public ZLTimeManager {
private:
ZLTime currentTime() const;

@ -25,13 +25,13 @@
#include <shared_ptr.h>
class ZLUserData {
class ZLCORE_EXPORT ZLUserData {
public:
virtual ~ZLUserData();
};
class ZLUserDataHolder {
class ZLCORE_EXPORT ZLUserDataHolder {
public:
ZLUserDataHolder();

@ -30,7 +30,7 @@
class ZLViewWidget;
class ZLPaintContext;
class ZLView : public ZLObjectWithRTTI {
class ZLCORE_EXPORT ZLView : public ZLObjectWithRTTI {
public:
enum Angle {

@ -26,7 +26,7 @@
class ZLView;
class ZLViewWidget {
class ZLCORE_EXPORT ZLViewWidget {
protected:
ZLViewWidget(ZLView::Angle initialAngle);

@ -20,9 +20,11 @@
#ifndef __ZLXMLNAMESPACE_H__
#define __ZLXMLNAMESPACE_H__
#include "core_export.h"
#include <string>
class ZLXMLNamespace {
class ZLCORE_EXPORT ZLXMLNamespace {
private:
ZLXMLNamespace();

@ -31,7 +31,7 @@ class ZLInputStream;
class ZLAsynchronousInputStream;
class ZLXMLReaderInternal;
class ZLXMLReader {
class ZLCORE_EXPORT ZLXMLReader {
public:
class AttributeNamePredicate {

@ -26,7 +26,7 @@
class ZLXMLReader;
class ZLXMLReaderInternal {
class ZLCORE_EXPORT ZLXMLReaderInternal {
private:
static void fStartElementHandler(void *userData, const char *name, const char **attributes);

@ -20,13 +20,15 @@
#ifndef __ZLXMLWRITER_H__
#define __ZLXMLWRITER_H__
#include "core_export.h"
#include <stack>
#include <vector>
#include <string>
#include <ZLOutputStream.h>
class ZLXMLWriter {
class ZLCORE_EXPORT ZLXMLWriter {
private:
struct Attribute {

@ -26,7 +26,7 @@
class ZLInputStream;
class ZLZDecompressor {
class ZLCORE_EXPORT ZLZDecompressor {
public:
ZLZDecompressor(std::size_t size);

@ -30,7 +30,7 @@
class ZLZDecompressor;
class ZLFile;
class ZLZipEntryCache : public ZLUserData {
class ZLCORE_EXPORT ZLZipEntryCache : public ZLUserData {
public:
static shared_ptr<ZLZipEntryCache> cache(const std::string &containerName, ZLInputStream &containerStream);
@ -62,7 +62,7 @@ private:
std::map<std::string,Info> myInfoMap;
};
class ZLZipInputStream : public ZLInputStream {
class ZLCORE_EXPORT ZLZipInputStream : public ZLInputStream {
private:
ZLZipInputStream(shared_ptr<ZLInputStream> &base, const std::string &baseName, const std::string &entryName);
@ -94,7 +94,7 @@ friend class ZLFSArchiverZip;
class ZLFSCompresorGz;
class ZLFSArchiverZip;
class ZLGzipInputStream : public ZLInputStream {
class ZLCORE_EXPORT ZLGzipInputStream : public ZLInputStream {
private:
ZLGzipInputStream(shared_ptr<ZLInputStream> stream);
@ -120,7 +120,7 @@ private:
friend class ZLFSCompressorGzip;
};
class ZLZipDir : public ZLDir {
class ZLCORE_EXPORT ZLZipDir : public ZLDir {
private:
ZLZipDir(const std::string &name);

@ -20,9 +20,11 @@
#ifndef __ZLZIPHEADER_H__
#define __ZLZIPHEADER_H__
#include "core_export.h"
class ZLInputStream;
struct ZLZipHeader {
struct ZLCORE_EXPORT ZLZipHeader {
static const int SignatureLocalFile;
static const int SignatureData;
static const int SignatureCentralDirectory;

@ -20,12 +20,14 @@
#ifndef __ZLIBRARY_H__
#define __ZLIBRARY_H__
#include "core_export.h"
#include <string>
class ZLApplication;
class ZLPaintContext;
class ZLibrary {
class ZLCORE_EXPORT ZLibrary {
public:
static const std::string FileNameDelimiter;

@ -20,7 +20,9 @@
#ifndef __ZLIBRARYIMPLEMENTATION_H__
#define __ZLIBRARYIMPLEMENTATION_H__
class ZLibraryImplementation {
#include "core_export.h"
class ZLCORE_EXPORT ZLibraryImplementation {
public:
static ZLibraryImplementation *Instance;

@ -0,0 +1,13 @@
#ifndef _CORE_EXPORT_H_
#define _CORE_EXPORT_H_
// Set by configure
#cmakedefine __KDE_HAVE_GCC_VISIBILITY 1
#ifdef __KDE_HAVE_GCC_VISIBILITY
#define ZLCORE_EXPORT __attribute__ ((visibility("default")))
#else
#define ZLCORE_EXPORT
#endif
#endif

@ -20,6 +20,8 @@
#ifndef __SHARED_PTR_H__
#define __SHARED_PTR_H__
#include "core_export.h"
template<class T> class shared_ptr_storage {
private:
unsigned int myCounter;
@ -42,7 +44,7 @@ template<class T> class shared_ptr_storage {
template<class T> class weak_ptr;
template<class T> class shared_ptr {
template<class T> class ZLCORE_EXPORT shared_ptr {
friend class weak_ptr<T>;
private:

Loading…
Cancel
Save