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

« back to all changes in this revision

Viewing changes to include/unity/storage/client/CreateResult.h

  • Committer: Bileto Bot
  • Author(s): James Henstridge
  • Date: 2016-08-04 07:19:51 UTC
  • mfrom: (8.25.12 merge-devel)
  • Revision ID: ci-train-bot@canonical.com-20160804071951-3mfrcheyjvif6o99
Initial release of storage framework.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#pragma once
2
 
 
3
 
#include <unity/storage/client/Item.h>
4
 
 
5
 
namespace unity
6
 
{
7
 
 
8
 
namespace storage
9
 
{
10
 
 
11
 
namespace client
12
 
{
13
 
 
14
 
class CreateResult
15
 
{
16
 
public:
17
 
    ~CreateResult();
18
 
    CreateResult(CreateResult const&) = delete;
19
 
    CreateResult& operator=(CreateResult const&) = delete;
20
 
    CreateResult(CreateResult&&) = delete;
21
 
    CreateResult& operator=(CreateResult&&) = delete;
22
 
 
23
 
    Item::UPtr get_item() const;
24
 
 
25
 
private:
26
 
    CreateResult();
27
 
};
28
 
 
29
 
}  // namespace client
30
 
 
31
 
}  // namespace storage
32
 
 
33
 
}  // namespace unity