~ubuntu-branches/debian/sid/kdesvn/sid

« back to all changes in this revision

Viewing changes to src/svncpp/client.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl
  • Date: 2006-01-13 04:31:54 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060113043154-6drk4qesrslf3jhm
Tags: 0.7.2-1
* New upstream release.
  + Removed patch context_menu.diff, merged upstream.
* Added patch store_passwords_config.diff. Closes: #345518
* Added patch settings_icons.diff for more distinct icons in the settings
  dialog.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
 
40
40
// qt
41
 
#include <qstring.h>
42
 
#include <qpair.h>
43
 
#include <qvaluelist.h>
44
 
#include <qmap.h>
 
41
#include <qglobal.h>
 
42
 
 
43
#if QT_VERSION < 0x040000
 
44
    #include <qstring.h>
 
45
    #include <qpair.h>
 
46
    #include <qvaluelist.h>
 
47
    #include <qmap.h>
 
48
#else
 
49
    #include <QtCore>
 
50
#endif
45
51
 
46
52
// svncpp
47
 
#include "svncpp/context.hpp"
48
 
#include "svncpp/exception.hpp"
49
 
#include "svncpp/path.hpp"
50
 
#include "svncpp/entry.hpp"
51
 
#include "svncpp/revision.hpp"
52
 
#include "svncpp/log_entry.hpp"
53
 
#include "svncpp/info_entry.hpp"
54
 
#include "svncpp/annotate_line.hpp"
 
53
#include "context.hpp"
 
54
#include "exception.hpp"
 
55
#include "path.hpp"
 
56
#include "entry.hpp"
 
57
#include "revision.hpp"
 
58
#include "log_entry.hpp"
 
59
#include "info_entry.hpp"
 
60
#include "annotate_line.hpp"
55
61
 
56
62
 
57
63
namespace svn
62
68
  class Targets;
63
69
  class DirEntry;
64
70
 
 
71
#if QT_VERSION < 0x040000
65
72
  typedef QValueList<LogEntry> LogEntries;
66
73
  typedef QValueList<InfoEntry> InfoEntries;
67
74
  typedef QValueList<Status> StatusEntries;
68
75
  typedef QValueList<DirEntry> DirEntries;
69
76
  typedef QValueList<AnnotateLine> AnnotatedFile;
70
77
  typedef QValueList<Revision> Revisions;
 
78
#else
 
79
  typedef QList<LogEntry> LogEntries;
 
80
  typedef QList<InfoEntry> InfoEntries;
 
81
  typedef QList<Status> StatusEntries;
 
82
  typedef QList<DirEntry> DirEntries;
 
83
  typedef QList<AnnotateLine> AnnotatedFile;
 
84
  typedef QList<Revision> Revisions;
 
85
#endif
71
86
 
72
87
  // map of property names to values
73
88
  typedef QMap<QString,QString> PropertiesMap;
74
89
  // pair of path, PropertiesMap
75
90
  typedef QPair<QString, PropertiesMap> PathPropertiesMapEntry;
76
91
  // vector of path, Properties pairs
 
92
#if QT_VERSION < 0x040000
77
93
  typedef QValueList<PathPropertiesMapEntry> PathPropertiesMapList;
 
94
#else
 
95
  typedef QList<PathPropertiesMapEntry> PathPropertiesMapList;
 
96
#endif
78
97
 
79
98
  /**
80
99
   * Subversion client API.
117
136
     * @param update Query the repository for updates.
118
137
     * @param no_ignore Disregard default and svn:ignore property ignores.
119
138
     * @param revision list specific revision when browsing remote, on working copies parameter will ignored
 
139
     * @param detailed_remote if on remote listing detailed item info should get if possible
 
140
     *                        that may slow so should configureable in frontends!
120
141
     * @return vector with Status entries.
121
142
     */
122
143
    StatusEntries
125
146
            const bool get_all = true,
126
147
            const bool update = false,
127
148
            const bool no_ignore = false,
128
 
            Revision revision = svn::Revision::HEAD) throw (ClientException);
 
149
            Revision revision = svn::Revision::HEAD,
 
150
            bool detailed_remote = false) throw (ClientException);
129
151
 
130
152
    /**
131
153
     * Returns the status of a single file in the path.