summaryrefslogtreecommitdiff
path: root/methods/connect.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-09-19 19:14:19 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-09-19 19:14:19 +0200
commit472ff00ef2e48383805d281c6364ec27839e3f4d (patch)
tree6f81e83690167fc78f3bbd3dcf03cf83cdcc60f6 /methods/connect.h
parent8f3ba4e8708cb72be19dacc2af4f601ee5fea292 (diff)
use forward declaration in headers if possible instead of includes
Diffstat (limited to 'methods/connect.h')
-rw-r--r--methods/connect.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/methods/connect.h b/methods/connect.h
index 0afa00919..bbe1bb35d 100644
--- a/methods/connect.h
+++ b/methods/connect.h
@@ -11,7 +11,8 @@
#define CONNECT_H
#include <string>
-#include <apt-pkg/acquire-method.h>
+
+class pkgAcqMethod;
bool Connect(std::string To,int Port,const char *Service,int DefPort,
int &Fd,unsigned long TimeOut,pkgAcqMethod *Owner);