libzypp  17.14.0
Application.h
Go to the documentation of this file.
1 /*---------------------------------------------------------------------\
2 | ____ _ __ __ ___ |
3 | |__ / \ / / . \ . \ |
4 | / / \ V /| _/ _/ |
5 | / /__ | | | | | | |
6 | /_____||_| |_| |_| |
7 | |
8 \---------------------------------------------------------------------*/
11 #ifndef ZYPP_APPLICATION_H
12 #define ZYPP_APPLICATION_H
13 
14 #include <iosfwd>
15 
16 #include "zypp/ResObject.h"
17 
19 namespace zypp
20 {
21  DEFINE_PTR_TYPE(Application);
22 
27  class Application : public ResObject
28  {
29  public:
30  typedef Application Self;
34 
35  public:
36  // no attributes defined by now
37 
38  protected:
39  friend Ptr make<Self>( const sat::Solvable & solvable_r );
41  Application( const sat::Solvable & solvable_r );
43  virtual ~Application();
44  };
45 
46 } // namespace zypp
48 #endif // ZYPP_APPLICATION_H
TraitsType::PtrType Ptr
Definition: Application.h:32
A Solvable object within the sat Pool.
Definition: Solvable.h:53
intrusive_ptr< const TRes > constPtrType
Definition: ResTraits.h:83
virtual ~Application()
Dtor.
Definition: Application.cc:27
ResTraits< Self > TraitsType
Definition: Application.h:31
Application(const sat::Solvable &solvable_r)
Ctor.
Definition: Application.cc:23
Application Self
Definition: Application.h:30
ResTraits.
Definition: ResTraits.h:79
DEFINE_PTR_TYPE(Application)
TraitsType::constPtrType constPtr
Definition: Application.h:33
Base for resolvable objects.
Definition: ResObject.h:37
intrusive_ptr< TRes > PtrType
Definition: ResTraits.h:82
Easy-to use interface to the ZYPP dependency resolver.
Definition: CodePitfalls.doc:1
Class representing an application (appdata.xml)
Definition: Application.h:27