kitchensync Library API Documentation

kdedsharedfile.h

00001 /* This file is part of the KDE Project
00002    Copyright (c) 2002 Holger Freyther <freyther@kde.org>
00003 
00004    This library is free software; you can redistribute it and/or
00005    modify it under the terms of the GNU Library General Public
00006    License version 2 as published by the Free Software Foundation.
00007 
00008    This library is distributed in the hope that it will be useful,
00009    but WITHOUT ANY WARRANTY; without even the implied warranty of
00010    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011    Library General Public License for more details.
00012 
00013    You should have received a copy of the GNU Library General Public License
00014    along with this library; see the file COPYING.LIB.  If not, write to
00015    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00016    Boston, MA 02111-1307, USA.
00017 */
00018 
00019 #ifndef kdedsharedfile_h
00020 #define kdedsharedfile_h
00021 
00022 #include <kdedmodule.h>
00023 #include <qstring.h>
00024 
00033 class KShareFileModule  : public KDEDModule
00034 {
00035 Q_OBJECT
00036 K_DCOP
00037  public:
00038  
00043   KShareFileModule(const QCString &obj );
00044   
00048   virtual ~KShareFileModule();
00049  k_dcop:
00050  
00056   ASYNC interestedIn(const QString &resource );
00057   
00063   ASYNC removeInterestIn(const QString &resource );
00064   
00074   bool readShareFile(const QString &resource );
00075   
00081   bool readUnshareFile(const QString &resource );
00082   
00090   bool writeLockFile(const QString &resource);
00091   
00097   bool writeUnlockFile(const QString &resource );
00098 
00099  private:
00100   class KShareFileModulePrivate;
00101   KShareFileModulePrivate *d;
00102 };
00103 
00104 #endif
00105 
00106 
00107 
00108 
00109 
00110 
00111 
00112 
00113 
00114 
KDE Logo
This file is part of the documentation for kitchensync Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Apr 4 04:47:07 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003