sihandler.h

00001 /*
00002   Copyright (c) 2007-2008 by Jakob Schroeter <js@camaya.net>
00003   This file is part of the gloox library. http://camaya.net/gloox
00004 
00005   This software is distributed under a license. The full license
00006   agreement can be found in the file LICENSE in this distribution.
00007   This software may not be copied, modified, sold or distributed
00008   other than expressed in the named license agreement.
00009 
00010   This software is distributed without any warranty.
00011 */
00012 
00013 
00014 #ifndef SIHANDLER_H__
00015 #define SIHANDLER_H__
00016 
00017 #include <string>
00018 
00019 namespace gloox
00020 {
00021 
00022   class Stanza;
00023   class Tag;
00024   class JID;
00025 
00036   class GLOOX_API SIHandler
00037   {
00038 
00039     public:
00043       virtual ~SIHandler() {}
00044 
00054       virtual void handleSIRequestResult( const JID& from, const std::string& sid,
00055                                           Tag* si, Tag* ptag, Tag* fneg ) = 0;
00056 
00062       virtual void handleSIRequestError( Stanza* stanza, const std::string& sid ) = 0;
00063 
00064   };
00065 
00066 }
00067 
00068 #endif // SIHANDLER_H__

Generated on Fri Oct 10 15:26:11 2008 for gloox by  doxygen 1.5.6