Menu
Home
Blog
Add-ons
Forum
Wiki
Developers
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
components
integration
public
sbIWindowMoveService.idl
Go to the documentation of this file.
1
/*
2
*=BEGIN SONGBIRD GPL
3
*
4
* This file is part of the Songbird web player.
5
*
6
* Copyright(c) 2005-2009 POTI, Inc.
7
* http://www.songbirdnest.com
8
*
9
* This file may be licensed under the terms of of the
10
* GNU General Public License Version 2 (the ``GPL'').
11
*
12
* Software distributed under the License is distributed
13
* on an ``AS IS'' basis, WITHOUT WARRANTY OF ANY KIND, either
14
* express or implied. See the GPL for the specific language
15
* governing rights and limitations.
16
*
17
* You should have received a copy of the GPL along with this
18
* program. If not, go to http://www.gnu.org/licenses/gpl.html
19
* or write to the Free Software Foundation, Inc.,
20
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21
*
22
*=END SONGBIRD GPL
23
*/
24
25
#include "nsISupports.idl"
26
27
interface
nsIDOMWindow
;
28
29
30
//==============================================================================
31
//
32
// @interface sbIWindowMoveListener
33
// @brief Window move listener callback interface.
34
//
35
//==============================================================================
36
37
[scriptable,
uuid
(C93F3A89-50F2-447
D
-BD70-972A3FB79D47)]
38
interface
sbIWindowMoveListener
:
nsISupports
39
{
40
//
41
// @brief Callback method when the window starts moving.
42
//
43
void
onMoveStarted
();
44
45
//
46
// @brief Callback method when the window stops moving.
47
//
48
void
onMoveStopped
();
49
};
50
51
52
//==============================================================================
53
//
54
// @inteface sbIWindowMoveService
55
// @brief Service for providing window move callback notices for a given window
56
// and a given listener.
57
//
58
//==============================================================================
59
60
[scriptable,
uuid
(08D7A93E-CD74-48E9-951
D
-C5B8E601EB16)]
61
interface
sbIWindowMoveService
:
nsISupports
62
{
63
//
64
// @brief Start listening to window sizing and move events.
65
// @param aWindow The window to start watching.
66
// @param aListener The callback listener for the move events.
67
//
68
void
startWatchingWindow
(in
nsISupports
aWindow,
69
in
sbIWindowMoveListener
aListener);
70
71
//
72
// @brief Stop listening to window sizing and move events.
73
// @param aWindow The window to stop watching.
74
// @param aListener The callback listener for the move events.
75
//
76
void
stopWatchingWindow
(in
nsISupports
aWindow,
77
in
sbIWindowMoveListener
aListener);
78
};
79
D
var D
Definition:
mootools-1.2-core.js:207
sbIWindowMoveService::stopWatchingWindow
void stopWatchingWindow(in nsISupports aWindow, in sbIWindowMoveListener aListener)
sbIWindowMoveService
Definition:
sbIWindowMoveService.idl:61
uuid
var uuid
Definition:
jquery-1.2.6.min.js:18
sbIWindowMoveListener
Definition:
sbIWindowMoveService.idl:38
nsIDOMWindow
const nsIDOMWindow
Definition:
nsBrowserContentHandler.js:49
sbIWindowMoveService::startWatchingWindow
void startWatchingWindow(in nsISupports aWindow, in sbIWindowMoveListener aListener)
sbIWindowMoveListener::onMoveStarted
void onMoveStarted()
sbIWindowMoveListener::onMoveStopped
void onMoveStopped()
nsISupports
nsISupports
Definition:
sbRemoteIndexedMediaItem.cpp:61