diff options
author | Zofia Abramowska <z.abramowska@samsung.com> | 2014-05-14 18:39:57 +0200 |
---|---|---|
committer | Zofia Abramowska <z.abramowska@samsung.com> | 2014-05-22 17:40:33 +0200 |
commit | 75eefc778a27ef1bbaa5f25405eda4cfe2afa29c (patch) | |
tree | 0e7ef4f49aa5afa1a628dd58c8f839574ed1a83c /src/manager/dpl/core/include/dpl/noncopyable.h | |
parent | 4b0983df07687e9a2bf60a2e2cc474b0306bbb2a (diff) | |
download | key-manager-75eefc778a27ef1bbaa5f25405eda4cfe2afa29c.tar.gz key-manager-75eefc778a27ef1bbaa5f25405eda4cfe2afa29c.tar.bz2 key-manager-75eefc778a27ef1bbaa5f25405eda4cfe2afa29c.zip |
Initial commit
Change-Id: I4e7b15fdcfdc4f4fe6c0b9401d30b9dea038866f
Diffstat (limited to 'src/manager/dpl/core/include/dpl/noncopyable.h')
-rw-r--r-- | src/manager/dpl/core/include/dpl/noncopyable.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/manager/dpl/core/include/dpl/noncopyable.h b/src/manager/dpl/core/include/dpl/noncopyable.h new file mode 100644 index 00000000..5d006a35 --- /dev/null +++ b/src/manager/dpl/core/include/dpl/noncopyable.h @@ -0,0 +1,38 @@ +/* + * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/* + * @file noncopyable + * @author Przemyslaw Dobrowolski (p.dobrowolsk@samsung.com) + * @version 1.0 + * @brief This file is the implementation file of noncopyable + */ +#ifndef CENT_KEY_NONCOPYABLE_H +#define CENT_KEY_NONCOPYABLE_H + +namespace CentralKeyManager { +class Noncopyable +{ + private: + Noncopyable(const Noncopyable &); + const Noncopyable &operator=(const Noncopyable &); + + public: + Noncopyable(); + virtual ~Noncopyable(); +}; +} // namespace CentralKeyManager + +#endif // CENT_KEY_NONCOPYABLE_H |