Port things from MSN to WLM plugin:
[kdenetwork.git] / kopete / protocols / groupwise / libgroupwise / requestfactory.h
blobe4ec073e406c828007ec3582169e3cb06ab3f05a
1 /*
2 requestfactory.h - Kopete Groupwise Protocol
4 Copyright (c) 2004 SUSE Linux AG http://www.suse.com
6 Kopete (c) 2002-2004 by the Kopete developers <kopete-devel@kde.org>
8 *************************************************************************
9 * *
10 * This library is free software; you can redistribute it and/or *
11 * modify it under the terms of the GNU Lesser General Public *
12 * License as published by the Free Software Foundation; either *
13 * version 2 of the License, or (at your option) any later version. *
14 * *
15 *************************************************************************
18 #ifndef REQUESTFACTORY_H
19 #define REQUESTFACTORY_H
21 #include <qstring.h>
23 class Request;
25 /**
26 * Factory for obtaining @ref Request instances.
27 * @author Kopete Developers
29 class RequestFactory{
30 public:
31 RequestFactory();
32 ~RequestFactory();
34 /**
35 * Obtain a new @ref Request instance
36 * The consumer is responsible for deleting this
37 * TODO: Allow the user to provide the fields for the request in this call
39 Request * request( const QString &request);
40 private:
41 int m_nextTransaction;
44 #endif