~ubuntu-branches/ubuntu/precise/smb4k/precise

« back to all changes in this revision

Viewing changes to core/smb4kglobal_p.h

  • Committer: Bazaar Package Importer
  • Author(s): Richard A. Johnson
  • Date: 2008-11-23 12:14:34 UTC
  • mfrom: (1.1.14 upstream)
  • Revision ID: james.westby@ubuntu.com-20081123121434-88cpidapbcqteud1
Tags: 0.10.1-0ubuntu1
* New upstream release for KDE 4
* Closes
  - (LP: #238011)
  - (LP: #248510)
  - (LP: #261803)
  - (LP: #262225)
  - (LP: #275539)
* Updated debian/
  - control: updated for new deps and removed old deps, bumped versions,
    modified Maintainer
  - rules: removed all but the kde4.mk for cdbs

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
    smb4kglobal_p  -  This is the private helper class of the Smb4KGlobal
 
3
    namespace.
 
4
                             -------------------
 
5
    begin                : Di Jul 24 2007
 
6
    copyright            : (C) 2007-2008 by Alexander Reinholdt
 
7
    email                : dustpuppy@users.berlios.de
 
8
 ***************************************************************************/
 
9
 
 
10
/***************************************************************************
 
11
 *   This program is free software; you can redistribute it and/or modify  *
 
12
 *   it under the terms of the GNU General Public License as published by  *
 
13
 *   the Free Software Foundation; either version 2 of the License, or     *
 
14
 *   (at your option) any later version.                                   *
 
15
 *                                                                         *
 
16
 *   This program is distributed in the hope that it will be useful, but   *
 
17
 *   WITHOUT ANY WARRANTY; without even the implied warranty of            *
 
18
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU     *
 
19
 *   General Public License for more details.                              *
 
20
 *                                                                         *
 
21
 *   You should have received a copy of the GNU General Public License     *
 
22
 *   along with this program; if not, write to the                         *
 
23
 *   Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,   *
 
24
 *   MA  02111-1307 USA                                                    *
 
25
 ***************************************************************************/
 
26
 
 
27
#ifndef SMB4KGLOBAL_P_H
 
28
#define SMB4KGLOBAL_P_H
 
29
 
 
30
#ifdef HAVE_CONFIG_H
 
31
#include <config.h>
 
32
#endif
 
33
 
 
34
// Qt includes
 
35
#include <QList>
 
36
 
 
37
// application specific includes
 
38
#include <smb4kworkgroup.h>
 
39
#include <smb4khost.h>
 
40
#include <smb4kshare.h>
 
41
 
 
42
/**
 
43
 * This class is a private helper for the Smb4KGlobal namespace.
 
44
 *
 
45
 * @author Alexander Reinholdt <dustpuppy@users.berlios.de>
 
46
 */
 
47
 
 
48
class Smb4KGlobalPrivate
 
49
{
 
50
  public:
 
51
    /**
 
52
     * Constructor
 
53
     */
 
54
    Smb4KGlobalPrivate();
 
55
 
 
56
    /**
 
57
     * Destructor
 
58
     */
 
59
    ~Smb4KGlobalPrivate();
 
60
 
 
61
    /**
 
62
     * Returns the name of the temporary directory.
 
63
     */
 
64
    const QString &tempDir();
 
65
 
 
66
    /**
 
67
     * This function returns the global workgroup list.
 
68
     */
 
69
    QList<Smb4KWorkgroup *> workgroupsList;
 
70
 
 
71
    /**
 
72
     * This function returns the global host list.
 
73
     */
 
74
    QList<Smb4KHost *> hostsList;
 
75
 
 
76
    /**
 
77
     * This function returns the global list of mounted shares.
 
78
     */
 
79
    QList<Smb4KShare *> mountedSharesList;
 
80
 
 
81
  private:
 
82
    QString m_temp_dir;
 
83
};
 
84
 
 
85
#endif