Not needed
authorDuncan Mac-Vicar P <dmacvicar@suse.de>
Wed, 6 Jun 2007 11:56:55 +0000 (11:56 +0000)
committerDuncan Mac-Vicar P <dmacvicar@suse.de>
Wed, 6 Jun 2007 11:56:55 +0000 (11:56 +0000)
zypp2/CMakeLists.txt
zypp2/cache/CacheCommon.h [deleted file]
zypp2/repo/cached/RepoImpl.cc

index 89f3819..243d74f 100644 (file)
@@ -43,7 +43,6 @@ SET( zypp2_cache_SRCS
 )
 
 SET( zypp2_cache_HEADERS
-  cache/CacheCommon.h
   cache/CacheTypes.h
   cache/CacheInitializer.h
   cache/CacheException.h
diff --git a/zypp2/cache/CacheCommon.h b/zypp2/cache/CacheCommon.h
deleted file mode 100644 (file)
index b239544..0000000
+++ /dev/null
@@ -1,103 +0,0 @@
-/*---------------------------------------------------------------------\
-|                          ____ _   __ __ ___                          |
-|                         |__  / \ / / . \ . \                         |
-|                           / / \ V /|  _/  _/                         |
-|                          / /__ | | | | | |                           |
-|                         /_____||_| |_| |_|                           |
-|                                                                      |
-\---------------------------------------------------------------------*/
-
-#ifndef CACHE_COMMON_H
-#define CACHE_COMMON_H
-
-//-----------------------------------------------------------------------------
-// relations
-
-#define RELATION_ANY 0
-#define RELATION_EQUAL (1 << 0)
-#define RELATION_LESS (1 << 1)
-#define RELATION_GREATER (1 << 2)
-#define RELATION_NONE (1 << 3)
-
-namespace zypp
-{
-namespace cache
-{
-namespace db
-{
-  
-typedef enum {
-  REL_INVALID            = -1,
-  REL_ANY                = RELATION_ANY,
-  REL_EQUAL              = RELATION_EQUAL,
-  REL_LESS               = RELATION_LESS,
-  REL_LESS_EQUAL         = RELATION_LESS | RELATION_EQUAL,
-  REL_GREATER            = RELATION_GREATER,
-  REL_GREATER_EQUAL      = RELATION_GREATER | RELATION_EQUAL,
-  REL_NOT_EQUAL          = RELATION_LESS | RELATION_GREATER,
-  REL_NONE               = RELATION_NONE,
-} Rel;
-
-//-----------------------------------------------------------------------------
-// architectures
-
-typedef enum {
-  ARCH_UNKNOWN = -1,
-  ARCH_NOARCH = 0,
-  ARCH_I386,
-  ARCH_I486,
-  ARCH_I586,
-  ARCH_I686,
-  ARCH_X86_64,
-  ARCH_IA32E,
-  ARCH_ATHLON,
-  ARCH_PPC,
-  ARCH_PPC64,
-  ARCH_S390,
-  ARCH_S390X,
-  ARCH_IA64,
-  ARCH_SPARC,
-  ARCH_SPARC64,
-} Arch;
-
-//-----------------------------------------------------------------------------
-// dependencies
-
-typedef enum {
-  DEP_TYPE_REQUIRE = 0,
-  DEP_TYPE_PROVIDE,                    // 1
-  DEP_TYPE_CONFLICT,                   // 2
-  DEP_TYPE_OBSOLETE,                   // 3
-  DEP_TYPE_PREREQUIRE,                 // 4
-  DEP_TYPE_FRESHEN,                    // 5
-  DEP_TYPE_RECOMMEND,                  // 6
-  DEP_TYPE_SUGGEST,                    // 7
-  DEP_TYPE_SUPPLEMENT,                 // 8
-  DEP_TYPE_ENHANCE,            // 9
-  DEP_TYPE_UNKNOWN=420
-} DependencyType;
-
-//-----------------------------------------------------------------------------
-// kinds (dependencies.dep_target
-
-typedef enum {
-  KIND_PACKAGE = 0,
-  KIND_SCRIPT,                 // 1
-  KIND_MESSAGE,                        // 2
-  KIND_PATCH,                  // 3
-  KIND_PATTERN,                        // 4
-  KIND_PRODUCT,                        // 5
-  KIND_SELECTION,              // 6
-  KIND_LANGUAGE,                       // 7
-  KIND_ATOM,                   // 8
-  KIND_SRC,                    // 9
-  KIND_SYSTEM,                 // 10 SystemResObject
-  KIND_UNKNOWN=42              // 42
-} Kind;
-
-
-} // namespace db
-} //namespace cache
-} //namespace zypp
-
-#endif // CACHE_COMMON_H
index 5426172..e5706ac 100644 (file)
@@ -14,7 +14,6 @@
 #include "zypp/base/Measure.h"
 #include "zypp/capability/Capabilities.h"
 #include "zypp2/cache/ResolvableQuery.h"
-#include "zypp2/cache/CacheCommon.h"
 #include "zypp/detail/ResImplTraits.h"
 #include "zypp/CapFactory.h"