gloox  1.0.28
siprofilehandler.h
1 /*
2  Copyright (c) 2007-2023 by Jakob Schröter <js@camaya.net>
3  This file is part of the gloox library. http://camaya.net/gloox
4 
5  This software is distributed under a license. The full license
6  agreement can be found in the file LICENSE in this distribution.
7  This software may not be copied, modified, sold or distributed
8  other than expressed in the named license agreement.
9 
10  This software is distributed without any warranty.
11 */
12 
13 
14 #ifndef SIPROFILEHANDLER_H__
15 #define SIPROFILEHANDLER_H__
16 
17 #include "jid.h"
18 #include "simanager.h"
19 
20 #include <string>
21 
22 namespace gloox
23 {
24 
25  class Tag;
26  class JID;
27 
37  class GLOOX_API SIProfileHandler
38  {
39 
40  public:
44  virtual ~SIProfileHandler() {}
45 
56  virtual void handleSIRequest( const JID& from, const JID& to, const std::string& id, const SIManager::SI& si ) = 0;
57 
58  };
59 
60 }
61 
62 #endif // SIPROFILEHANDLER_H__
An abstraction of a JID.
Definition: jid.h:31
An abstract base class to handle SI requests for a specific profile, e.g. file transfer.
virtual void handleSIRequest(const JID &from, const JID &to, const std::string &id, const SIManager::SI &si)=0
The namespace for the gloox library.
Definition: adhoc.cpp:28