Commit 01f0fd03 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

delete unused CChatMessage

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66125 954022d7-b5bf-4e40-9824-e11837661b57
parent 1d050aac
...@@ -3292,7 +3292,7 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS"; ...@@ -3292,7 +3292,7 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
spreadsheet_api.prototype.asc_coAuthoringChatSendMessage = function(message) { spreadsheet_api.prototype.asc_coAuthoringChatSendMessage = function(message) {
this.CoAuthoringApi.sendMessage(message); this.CoAuthoringApi.sendMessage(message);
}; };
// get chart messages, возвращается массив CChatMessage // get chart messages
spreadsheet_api.prototype.asc_coAuthoringChatGetMessages = function() { spreadsheet_api.prototype.asc_coAuthoringChatGetMessages = function() {
this.CoAuthoringApi.getMessages(); this.CoAuthoringApi.getMessages();
}; };
......
...@@ -222,20 +222,6 @@ asc_docs_api.prototype.asc_GetFontThumbnailsPath = function() ...@@ -222,20 +222,6 @@ asc_docs_api.prototype.asc_GetFontThumbnailsPath = function()
///////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////
///////////////////CoAuthoring and Chat api////////////////////////////// ///////////////////CoAuthoring and Chat api//////////////////////////////
///////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////
function CChatMessage(user, message)
{
this.UserId = (undefined != user_id) ? user_id : null;
this.Message = (undefined != message) ? message : null;
}
CChatMessage.prototype.get_UserId = function() { return this.UserId; };
CChatMessage.prototype.get_Message = function() { return this.Message; };
/*
ToDo Register Callback OnCoAuthoringChatReceiveMessage return object CChatMessage (возможно возвращается МАСС�?В CChatMessage со всеми сообщениями)
ToDo Register Callback OnCoAuthoringConnectUser возвращается userId
ToDo Register Callback OnCoAuthoringDisconnectUser возвращается userId
*/
// Init CoAuthoring // Init CoAuthoring
asc_docs_api.prototype._coAuthoringInit = function() { asc_docs_api.prototype._coAuthoringInit = function() {
if (null == this.User || null == this.User.asc_getId()) { if (null == this.User || null == this.User.asc_getId()) {
...@@ -608,7 +594,7 @@ asc_docs_api.prototype.asc_coAuthoringDisconnect = function () { ...@@ -608,7 +594,7 @@ asc_docs_api.prototype.asc_coAuthoringDisconnect = function () {
asc_docs_api.prototype.asc_coAuthoringChatSendMessage = function (message) { asc_docs_api.prototype.asc_coAuthoringChatSendMessage = function (message) {
this.CoAuthoringApi.sendMessage(message); this.CoAuthoringApi.sendMessage(message);
}; };
// get chart messages, возвращается массив CChatMessage // get chart messages
asc_docs_api.prototype.asc_coAuthoringChatGetMessages = function () { asc_docs_api.prototype.asc_coAuthoringChatGetMessages = function () {
this.CoAuthoringApi.getMessages(); this.CoAuthoringApi.getMessages();
}; };
......
...@@ -412,9 +412,6 @@ asc_docs_api.prototype['asc_undoAllChanges'] = asc_docs_api.prototype.asc_undoAl ...@@ -412,9 +412,6 @@ asc_docs_api.prototype['asc_undoAllChanges'] = asc_docs_api.prototype.asc_undoAl
asc_docs_api.prototype['sync_ContextMenuCallback'] = asc_docs_api.prototype.sync_ContextMenuCallback; asc_docs_api.prototype['sync_ContextMenuCallback'] = asc_docs_api.prototype.sync_ContextMenuCallback;
asc_docs_api.prototype['asc_addComment'] = asc_docs_api.prototype.asc_addComment; asc_docs_api.prototype['asc_addComment'] = asc_docs_api.prototype.asc_addComment;
asc_docs_api.prototype['asc_SetFastCollaborative'] = asc_docs_api.prototype.asc_SetFastCollaborative; asc_docs_api.prototype['asc_SetFastCollaborative'] = asc_docs_api.prototype.asc_SetFastCollaborative;
window['CChatMessage'] = CChatMessage;
CChatMessage.prototype['get_UserId'] = CChatMessage.prototype.get_UserId;
CChatMessage.prototype['get_Message'] = CChatMessage.prototype.get_Message;
window['OnSave_Callback'] = OnSave_Callback; window['OnSave_Callback'] = OnSave_Callback;
window['asc_CCommentData'] = asc_CCommentData; window['asc_CCommentData'] = asc_CCommentData;
asc_CCommentData.prototype['asc_getText'] = asc_CCommentData.prototype.asc_getText; asc_CCommentData.prototype['asc_getText'] = asc_CCommentData.prototype.asc_getText;
......
...@@ -1082,20 +1082,6 @@ asc_docs_api.prototype.get_PropertyThemeColorSchemes = function() ...@@ -1082,20 +1082,6 @@ asc_docs_api.prototype.get_PropertyThemeColorSchemes = function()
///////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////
///////////////////CoAuthoring and Chat api////////////////////////////// ///////////////////CoAuthoring and Chat api//////////////////////////////
///////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////
function CChatMessage(user, message)
{
this.UserId = (undefined != user_id) ? user_id : null;
this.Message = (undefined != message) ? message : null;
}
CChatMessage.prototype.get_UserId = function() { return this.UserId; };
CChatMessage.prototype.get_Message = function() { return this.Message; };
/*
ToDo Register Callback OnCoAuthoringChatReceiveMessage return object CChatMessage (возможно возвращается МАСС�?В CChatMessage со всеми сообщениями)
ToDo Register Callback OnCoAuthoringConnectUser возвращается userId
ToDo Register Callback OnCoAuthoringDisconnectUser возвращается userId
*/
// Init CoAuthoring // Init CoAuthoring
asc_docs_api.prototype._coAuthoringSetChange = function(change, oColor) asc_docs_api.prototype._coAuthoringSetChange = function(change, oColor)
{ {
...@@ -1366,7 +1352,7 @@ asc_docs_api.prototype.asc_coAuthoringChatSendMessage = function(message) ...@@ -1366,7 +1352,7 @@ asc_docs_api.prototype.asc_coAuthoringChatSendMessage = function(message)
{ {
this.CoAuthoringApi.sendMessage(message); this.CoAuthoringApi.sendMessage(message);
}; };
// get chart messages, возвращается массив CChatMessage // get chart messages
asc_docs_api.prototype.asc_coAuthoringChatGetMessages = function() asc_docs_api.prototype.asc_coAuthoringChatGetMessages = function()
{ {
this.CoAuthoringApi.getMessages(); this.CoAuthoringApi.getMessages();
......
...@@ -547,9 +547,6 @@ asc_docs_api.prototype['asc_undoAllChanges'] = asc_docs_api.prototype.asc_undoAl ...@@ -547,9 +547,6 @@ asc_docs_api.prototype['asc_undoAllChanges'] = asc_docs_api.prototype.asc_undoAl
asc_docs_api.prototype['asc_CloseFile'] = asc_docs_api.prototype.asc_CloseFile; asc_docs_api.prototype['asc_CloseFile'] = asc_docs_api.prototype.asc_CloseFile;
asc_docs_api.prototype['asc_addComment'] = asc_docs_api.prototype.asc_addComment; asc_docs_api.prototype['asc_addComment'] = asc_docs_api.prototype.asc_addComment;
asc_docs_api.prototype['asc_SetFastCollaborative'] = asc_docs_api.prototype.asc_SetFastCollaborative; asc_docs_api.prototype['asc_SetFastCollaborative'] = asc_docs_api.prototype.asc_SetFastCollaborative;
window['CChatMessage'] = CChatMessage;
CChatMessage.prototype['get_UserId'] = CChatMessage.prototype.get_UserId;
CChatMessage.prototype['get_Message'] = CChatMessage.prototype.get_Message;
window['CMathProp'] = CMathProp; window['CMathProp'] = CMathProp;
CMathProp.prototype['get_Type'] = CMathProp.prototype.get_Type; CMathProp.prototype['get_Type'] = CMathProp.prototype.get_Type;
window['CParagraphPropEx'] = CParagraphPropEx; window['CParagraphPropEx'] = CParagraphPropEx;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment