add symbols visibility.

Signed-off-by: gregory guy <gregory-tde@laposte.net>
gregory guy 3 years ago
parent 2e09717383
commit 7a2cf0f27f
No known key found for this signature in database
GPG Key ID: 2CC84A1CC6823AF8

@ -27,10 +27,17 @@
#ifndef SMB4KAUTHINFO_H
#define SMB4KAUTHINFO_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
// TQt includes
#include <tqstring.h>
#include <tqcstring.h>
#include <kdemacros.h>
/**
* This class provides a container for the authentication data.
*
@ -38,7 +45,7 @@
*/
class Smb4KAuthInfo
class KDE_EXPORT Smb4KAuthInfo
{
public:
/**

@ -28,6 +28,10 @@
#ifndef SMB4KBOOKMARK_H
#define SMB4KBOOKMARK_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
// TQt includes
#include <tqstring.h>
@ -38,7 +42,7 @@ class Smb4KShareItem;
* This class is a container for a set bookmark on a samba share
*/
class Smb4KBookmark
class KDE_EXPORT Smb4KBookmark
{
public:
/**

@ -83,7 +83,7 @@ class Smb4KBookmarkHandler : public TQObject
* @param bookmark A bookmark that is to be written to
* the bookmark file
*/
void addBookmark( Smb4KBookmark *bookmark );
KDE_EXPORT void addBookmark( Smb4KBookmark *bookmark );
/**
* This function writes a new list of bookmarks. The old list will be
@ -94,7 +94,7 @@ class Smb4KBookmarkHandler : public TQObject
* @param list The (new) list of bookmarks that is to be written
* to the bookmark file
*/
void writeBookmarkList( const TQValueList<Smb4KBookmark *> &list );
KDE_EXPORT void writeBookmarkList( const TQValueList<Smb4KBookmark *> &list );
/**
* Get the list of bookmarks.
@ -102,7 +102,7 @@ class Smb4KBookmarkHandler : public TQObject
* @returns The current list of bookmarks stored in the
* bookmark file.
*/
const TQValueList<Smb4KBookmark *> &getBookmarks();
KDE_EXPORT const TQValueList<Smb4KBookmark *> &getBookmarks();
/**
* This function searches for a bookmark using its name (//HOST/SHARE) and

@ -66,7 +66,7 @@ class Smb4KCore : public TQObject
/**
* Returns a static pointer to this class.
*/
static Smb4KCore *self();
KDE_EXPORT static Smb4KCore *self();
/**
* The destructor.

@ -74,7 +74,7 @@ class Smb4KMounter : public TQObject
/**
* Aborts a running process.
*/
void abort();
KDE_EXPORT void abort();
/**
* Enumeration for the state of the process. The members are also
@ -113,7 +113,7 @@ class Smb4KMounter : public TQObject
*
* @param share The name of the share.
*/
void mountShare( const TQString &workgroup, const TQString &host, const TQString &ip, const TQString &share );
KDE_EXPORT void mountShare( const TQString &workgroup, const TQString &host, const TQString &ip, const TQString &share );
/**
* Returns the unsorted list of mounted shares.

@ -155,7 +155,7 @@ class Smb4KPasswordHandler : public TQObject
*
* @returns pointer to the authentication data object if a wallet is used or NULL otherwise
*/
Smb4KAuthInfo *readDefaultAuth( Smb4KAuthInfo *authInfo );
KDE_EXPORT Smb4KAuthInfo *readDefaultAuth( Smb4KAuthInfo *authInfo );
/**
* Writes the default authentication data to the wallet. This function seems only to
@ -164,7 +164,7 @@ class Smb4KPasswordHandler : public TQObject
* @param authInfo The authentication data for the default login if a wallet is
* used or NULL otherwise.
*/
void writeDefaultAuth( Smb4KAuthInfo *authInfo );
KDE_EXPORT void writeDefaultAuth( Smb4KAuthInfo *authInfo );
/**
* This enumeration destermines which destriptive label the askpass

@ -81,7 +81,7 @@ class Smb4KPreviewer : public TQObject
* @returns TRUE if einter the share name is not 'homes' or if it could
* successfully be set to a user name. Otherwise it returns FALSE.
*/
bool preview( Smb4KPreviewItem *item );
KDE_EXPORT bool preview( Smb4KPreviewItem *item );
/**
* Using this function, you can find out whether the previewer is running

@ -47,7 +47,7 @@ typedef TQPair<int, TQString> ContentsItem;
* @author Alexander Reinholdt <dustpuppy@users.berlios.de>
*/
class Smb4KPreviewItem
class KDE_EXPORT Smb4KPreviewItem
{
public:
/**

@ -78,12 +78,12 @@ class Smb4KPrint : public TQObject
*
* @param info The Smb4KShareItem object
*/
bool print( Smb4KPrintInfo *info );
KDE_EXPORT bool print( Smb4KPrintInfo *info );
/**
* Aborts the print process.
*/
void abort();
KDE_EXPORT void abort();
/**
* This function returns TRUE if the printer handler is running and

@ -22,7 +22,9 @@
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, *
* MA 02110-1301 USA *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
// TQt includes
#include <tqfile.h>
#include <tqtextstream.h>
@ -435,7 +437,7 @@ void Smb4KSambaOptionsHandler::sync()
}
Smb4KSambaOptionsInfo *Smb4KSambaOptionsHandler::find_item( const TQString &item, bool exactMatch )
KDE_EXPORT Smb4KSambaOptionsInfo *Smb4KSambaOptionsHandler::find_item( const TQString &item, bool exactMatch )
{
// If the list is empty, we'll read the file.
if ( m_list.isEmpty() )

@ -76,7 +76,7 @@ class Smb4KSambaOptionsHandler : public TQObject
*
* @returns the list of all shares that have custom options defined.
*/
const TQValueList<Smb4KSambaOptionsInfo *> &customOptionsList();
KDE_EXPORT const TQValueList<Smb4KSambaOptionsInfo *> &customOptionsList();
/**
* This functions sets the remount flag of the share @p share to TRUE or FALSE.
@ -95,7 +95,7 @@ class Smb4KSambaOptionsHandler : public TQObject
* Commit the whole list of shares with custom options to the configuration
* file. You should call this if you exit the application.
*/
void sync();
KDE_EXPORT void sync();
/**
* This function returns the line of arguments for the 'smbclient' program.
@ -188,7 +188,7 @@ class Smb4KSambaOptionsHandler : public TQObject
*
* @param sync If TRUE, the list is sync'ed with the config file.
*/
void addItem( Smb4KSambaOptionsInfo *info, bool sync );
KDE_EXPORT void addItem( Smb4KSambaOptionsInfo *info, bool sync );
/**
* Remove an item from the list.
@ -197,7 +197,7 @@ class Smb4KSambaOptionsHandler : public TQObject
*
* @param sync If TRUE, the list is sync'ed with the config file.
*/
void removeItem( const TQString &name, bool sync );
KDE_EXPORT void removeItem( const TQString &name, bool sync );
private:
/**

@ -33,6 +33,7 @@
// TQt includes
#include <tqstring.h>
#include <kdemacros.h>
// forward declarations
class Smb4KShare;
@ -45,7 +46,7 @@ class Smb4KShare;
* @author Alexander Reinholdt <dustpuppy@mail.berlios.de>
*/
class Smb4KSambaOptionsInfo
class KDE_EXPORT Smb4KSambaOptionsInfo
{
public:
/**

@ -186,7 +186,7 @@ class Smb4KScanner : public TQObject
*
* @returns A host item
*/
Smb4KHostItem *getHost( const TQString &name,
KDE_EXPORT Smb4KHostItem *getHost( const TQString &name,
const TQString &workgroup = TQString() );
/**

@ -86,7 +86,7 @@ class Smb4KFileIO : public TQObject
* out if the the write process finished successfully.
*
*/
bool writeSudoers( Smb4KFileIO::Operation operation );
KDE_EXPORT bool writeSudoers( Smb4KFileIO::Operation operation );
/**
* This function writes changes to the super.tab configuration file.
@ -102,7 +102,7 @@ class Smb4KFileIO : public TQObject
* out if the the write process finished successfully.
*
*/
bool writeSuperTab( Smb4KFileIO::Operation operation );
KDE_EXPORT bool writeSuperTab( Smb4KFileIO::Operation operation );
signals:
/**

@ -26,6 +26,10 @@
#ifndef SMB4TDEGLOBAL_H
#define SMB4TDEGLOBAL_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <tqstring.h>
#include <tqtimer.h>
@ -73,14 +77,14 @@ namespace Smb4TDEGlobal
*
* @returns A user name
*/
const TQString specifyUser( const TQString &host, TQWidget *parent = 0, const char *name = 0 );
KDE_EXPORT const TQString specifyUser( const TQString &host, TQWidget *parent = 0, const char *name = 0 );
/**
* This function returns the password handler.
*
* @returns a pointer to the global password handler object.
*/
Smb4KPasswordHandler *passwordHandler();
KDE_EXPORT Smb4KPasswordHandler *passwordHandler();
/**
* This function returns a pointer to the global Smb4KOptionsHandler object.
@ -91,7 +95,7 @@ namespace Smb4TDEGlobal
*
* @returns a pointer to the global options handler object.
*/
Smb4KSambaOptionsHandler *optionsHandler();
KDE_EXPORT Smb4KSambaOptionsHandler *optionsHandler();
/**
* This function creates a temporary directory and returns its name. If it already

Loading…
Cancel
Save