aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-07-30 21:53:08 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-07-30 21:53:08 +0000
commitda9a5e3d71bd24ac2ec1a8b9c7d0424c2fe84031 (patch)
tree81cdbf35f6165ebff69b6b55b132e12d88b0581b
parent056a2bf29d376ae6eb39a7c1f36e95eb227f649e (diff)
downloadpaludis-da9a5e3d71bd24ac2ec1a8b9c7d0424c2fe84031.tar.gz
paludis-da9a5e3d71bd24ac2ec1a8b9c7d0424c2fe84031.tar.xz
Make task constructors protected
-rw-r--r--paludis/tasks/install_task.hh9
-rw-r--r--paludis/tasks/sync_task.hh9
-rw-r--r--paludis/tasks/uninstall_task.hh9
3 files changed, 24 insertions, 3 deletions
diff --git a/paludis/tasks/install_task.hh b/paludis/tasks/install_task.hh
index 5aef57d..4dc7d99 100644
--- a/paludis/tasks/install_task.hh
+++ b/paludis/tasks/install_task.hh
@@ -46,11 +46,18 @@ namespace paludis
PrivateImplementationPattern<InstallTask>,
InstantiationPolicy<InstallTask, instantiation_method::NonCopyableTag>
{
- public:
+ protected:
///\name Basic operations
///\{
InstallTask(Environment * const env);
+
+ ///\}
+
+ public:
+ ///\name Basic operations
+ ///\{
+
virtual ~InstallTask();
///\}
diff --git a/paludis/tasks/sync_task.hh b/paludis/tasks/sync_task.hh
index 7bd7186..b9f3823 100644
--- a/paludis/tasks/sync_task.hh
+++ b/paludis/tasks/sync_task.hh
@@ -33,11 +33,18 @@ namespace paludis
PrivateImplementationPattern<SyncTask>,
InstantiationPolicy<SyncTask, instantiation_method::NonCopyableTag>
{
- public:
+ protected:
///\name Basic operations
///\{
SyncTask(Environment * const env);
+
+ ///\}
+
+ public:
+ ///\name Basic operations
+ ///\{
+
virtual ~SyncTask();
///\}
diff --git a/paludis/tasks/uninstall_task.hh b/paludis/tasks/uninstall_task.hh
index a7f04a2..793ec67 100644
--- a/paludis/tasks/uninstall_task.hh
+++ b/paludis/tasks/uninstall_task.hh
@@ -69,11 +69,18 @@ namespace paludis
PrivateImplementationPattern<UninstallTask>,
InstantiationPolicy<UninstallTask, instantiation_method::NonCopyableTag>
{
- public:
+ protected:
///\name Basic operations
///\{
UninstallTask(Environment * const env);
+
+ ///\}
+
+ public:
+ ///\name Basic operations
+ ///\{
+
virtual ~UninstallTask();
///\}