Stop leaking all ScPostIt instances.
[LibreOffice.git] / sc / source / ui / inc / sccollaboration.hxx
blob13038472aeb7e96b8964dd8c78e7e90bc3cba557
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #ifndef INCLUDED_SC_COLLABORATION_HXX
11 #define INCLUDED_SC_COLLABORATION_HXX
13 #include <sal/config.h>
15 #include <tubes/collaboration.hxx>
16 class ScDocFuncSend;
17 class ScDocShell;
19 class ScCollaboration : public Collaboration
21 ScDocShell* mpScDocShell;
22 public:
23 ScCollaboration( ScDocShell* pScDocShell );
24 virtual ~ScCollaboration();
26 virtual void EndCollaboration() const;
27 virtual void PacketReceived( const OString& rPacket ) const;
28 virtual void SaveAndSendFile( TpContact* pContact ) const;
29 virtual void StartCollaboration( TeleConference* pConference );
30 private:
31 friend class ScDocShell;
32 ScDocFuncSend* GetScDocFuncSend() const;
35 #endif // INCLUDED_SC_COLLABORATION_HXX
37 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */