~unity-api-team/storage-framework/vivid

« back to all changes in this revision

Viewing changes to include/unity/storage/qt/client/Account.h

  • Committer: Michi Henning
  • Date: 2016-05-23 02:27:16 UTC
  • mto: (8.12.2 add-etag)
  • mto: This revision was merged to the branch mainline in revision 9.
  • Revision ID: michi.henning@canonical.com-20160523022716-jpaudmuan8vxxgch
More fleshing out of the local client implementation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#pragma once
2
2
 
 
3
#include <unity/storage/common/visibility.h>
 
4
 
 
5
#pragma GCC diagnostic push
 
6
#pragma GCC diagnostic ignored "-Wctor-dtor-privacy"
3
7
#include <QFuture>
 
8
#pragma GCC diagnostic pop
4
9
#include <QString>
5
10
#include <QVector>
6
11
 
30
35
/**
31
36
\brief Class that represents an account.
32
37
*/
33
 
class Account
 
38
class UNITY_STORAGE_EXPORT Account
34
39
{
35
40
public:
36
41
    ~Account();
54
59
 
55
60
    An account can have more than one root directory (for providers that support the concept of multiple drives).
56
61
    */
57
 
    QFuture<QVector<std::shared_ptr<Root>>> get_roots() const;
 
62
    QFuture<QVector<std::shared_ptr<Root>>> roots() const;
58
63
 
59
64
private:
60
65
    Account(internal::AccountImpl*);