yast2-core
Y2ComponentCreator.h
Go to the documentation of this file.
1 /*---------------------------------------------------------------------\
2 | |
3 | __ __ ____ _____ ____ |
4 | \ \ / /_ _/ ___|_ _|___ \ |
5 | \ V / _` \___ \ | | __) | |
6 | | | (_| |___) || | / __/ |
7 | |_|\__,_|____/ |_| |_____| |
8 | |
9 | core system |
10 | (C) SuSE GmbH |
11 \----------------------------------------------------------------------/
12 
13  File: Y2ComponentCreator.h
14 
15  Author: Mathias Kettner <kettner@suse.de>
16  Maintainer: Thomas Roelz <tom@suse.de>
17 
18 /-*/
19 // -*- c++ -*-
20 
21 #ifndef Y2ComponentCreator_h
22 #define Y2ComponentCreator_h
23 
24 #include "Y2ComponentBroker.h"
25 
44 {
45 public:
55  Y2ComponentCreator(Y2ComponentBroker::order_t order, bool force_register);
56 
60  virtual ~Y2ComponentCreator();
61 
68  virtual Y2Component *create(const char *name) const;
69 
76  virtual Y2Component *createInLevel(const char *name, int level, int current_level) const;
77 
83  virtual Y2Component *provideNamespace(const char *name);
84 
88  virtual bool isServerCreator() const = 0;
89 
93  bool isClientCreator() const;
94 };
95 
96 #endif // Y2ComponentCreator_h

Generated on a sunny day for yast2-core by doxygen 1.8.2