mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
First Checked In.
This commit is contained in:
parent
20af12d1fb
commit
e99928219d
23
editor/txmgr/idl/MANIFEST
Normal file
23
editor/txmgr/idl/MANIFEST
Normal file
@ -0,0 +1,23 @@
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is Mozilla Communicator client code, released
|
||||
# March 31, 1998.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1999 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
|
||||
nsITransactionDescription.idl
|
37
editor/txmgr/idl/Makefile.in
Normal file
37
editor/txmgr/idl/Makefile.in
Normal file
@ -0,0 +1,37 @@
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is Mozilla Communicator client code, released
|
||||
# March 31, 1998.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1999 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
|
||||
DEPTH = ../../..
|
||||
topsrcdir = @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
MODULE = txmgr
|
||||
|
||||
XPIDLSRCS = \
|
||||
nsITransactionDescription.idl \
|
||||
$(NULL)
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
32
editor/txmgr/idl/makefile.win
Normal file
32
editor/txmgr/idl/makefile.win
Normal file
@ -0,0 +1,32 @@
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is Mozilla Communicator client code, released
|
||||
# March 31, 1998.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1999 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
|
||||
DEPTH=..\..\..
|
||||
|
||||
MODULE=txmgr
|
||||
XPIDL_MODULE=txmgr
|
||||
|
||||
XPIDLSRCS = \
|
||||
.\nsITransactionDescription.idl \
|
||||
$(NULL)
|
||||
|
||||
include <$(DEPTH)\config\rules.mak>
|
62
editor/txmgr/idl/nsITransactionDescription.idl
Normal file
62
editor/txmgr/idl/nsITransactionDescription.idl
Normal file
@ -0,0 +1,62 @@
|
||||
/*
|
||||
* The contents of this file are subject to the Netscape Public
|
||||
* License Version 1.1 (the "License"); you may not use this file
|
||||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS
|
||||
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* rights and limitations under the License.
|
||||
*
|
||||
* The Original Code is Mozilla Communicator client code, released
|
||||
* March 31, 1998.
|
||||
*
|
||||
* The Initial Developer of the Original Code is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1999 Netscape Communications Corporation. All
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*/
|
||||
|
||||
|
||||
#include "nsISupports.idl"
|
||||
|
||||
|
||||
/**
|
||||
* UI Transaction interface to outside world
|
||||
* A transaction specific interface for handling its user-interface needs.
|
||||
* <P>
|
||||
* It's implemented by an object that can get and set strings and IDs for
|
||||
* a particular transaction.
|
||||
*/
|
||||
|
||||
[scriptable, uuid(32a805cc-1dd2-11b2-b8b1-f9648fb9df5e)]
|
||||
interface nsITransactionDescription : nsISupports
|
||||
{
|
||||
/**
|
||||
* Returns a string which might be used with logging or other purposes.
|
||||
* @param aString will be set to the transactions description string.
|
||||
*/
|
||||
wstring getLogDescription();
|
||||
|
||||
/**
|
||||
* Sets a string for later query (for example, it might be associated with logging).
|
||||
* @param aString will be used as the new description string for a given transaction.
|
||||
*/
|
||||
void setLogDescription(in wstring aString);
|
||||
|
||||
/**
|
||||
* Returns an id for a particular transaction.
|
||||
* @param aTransactionID will contain the transaction's id.
|
||||
*/
|
||||
PRInt32 getTransactionDescriptionID();
|
||||
|
||||
/**
|
||||
* Sets the id for a particular transaction.
|
||||
* @param aTransactionID will contain the transaction's id.
|
||||
*/
|
||||
void setTransactionDescriptionID(in PRInt32 aTransactionID);
|
||||
|
||||
};
|
BIN
editor/txmgr/macbuild/txmgrIDL.mcp
Normal file
BIN
editor/txmgr/macbuild/txmgrIDL.mcp
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user