summaryrefslogtreecommitdiff
path: root/sc/source/ui/collab/sendfunc.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/collab/sendfunc.hxx')
-rw-r--r--sc/source/ui/collab/sendfunc.hxx22
1 files changed, 8 insertions, 14 deletions
diff --git a/sc/source/ui/collab/sendfunc.hxx b/sc/source/ui/collab/sendfunc.hxx
index 07160c8e8e57..676fc78a915c 100644
--- a/sc/source/ui/collab/sendfunc.hxx
+++ b/sc/source/ui/collab/sendfunc.hxx
@@ -12,10 +12,9 @@
#include <sal/config.h>
-#include "cell.hxx"
#include "docfunc.hxx"
-class TeleConference;
-typedef struct _TpContact TpContact;
+class ScCollaboration;
+class ScBaseCell;
namespace {
@@ -206,23 +205,18 @@ public:
class ScDocFuncSend : public ScDocFunc
{
- ScDocFuncDirect *mpDirect;
- TeleConference *mpConference;
-
- void SendMessage( ScChangeOpWriter &rOp );
+ ScDocFuncDirect* mpDirect;
+ ScCollaboration* mpCollaboration;
+ friend class ScCollaboration;
+ void RecvMessage( const rtl::OString &rString );
+ void SendMessage( ScChangeOpWriter &rOp );
public:
// FIXME: really ScDocFunc should be an abstract base, so
// we don't need the rDocSh hack/pointer
- ScDocFuncSend( ScDocShell& rDocSh, ScDocFuncDirect *pDirect );
+ ScDocFuncSend( ScDocShell& rDocSh, ScDocFuncDirect* pDirect, ScCollaboration* pCollaboration );
virtual ~ScDocFuncSend();
- void RecvMessage( const rtl::OString &rString );
- void SetCollaboration( TeleConference* pConference );
- TeleConference* GetConference();
- // TODO: I think this could be moved to TeleManager later.
- void SendFile( TpContact* pContact, const rtl::OUString &rURL );
-
virtual void EnterListAction( sal_uInt16 nNameResId );
virtual void EndListAction();