InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IIdleTaskThread.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Shawn Sheridan
6
//
7
// $Author$
8
//
9
// $DateTime$
10
//
11
// $Revision$
12
//
13
// $Change$
14
//
15
// Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16
//
17
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18
// with the terms of the Adobe license agreement accompanying it. If you have received
19
// this file from a source other than Adobe, then your use, modification, or
20
// distribution of it requires the prior written permission of Adobe.
21
//
22
//
23
// Purpose:
24
//
25
// Review Date:
26
//
27
//========================================================================================
28
29
#ifndef __IIdleTaskThread__
30
#define __IIdleTaskThread__
31
32
#include "IPMUnknown.h"
33
#include "ShuksanID.h"
34
#include "IIdleTask.h"
35
#include <boost/function.hpp>
36
37
45
class
IIdleTaskThread
:
public
IIdleTask
46
{
47
public
:
48
enum
{ kDefaultIID = IID_IIDLETASKTHREAD };
49
54
virtual
uint32
YieldToEventLoop
( uint32 millisecSleep = 0) = 0;
55
58
typedef
boost::function<void ()>
Task
;
59
67
virtual
void
ExecuteTaskInMainThread
(
Task
& task) = 0;
68
};
69
70
71
#endif // __IIdleTaskThread__
tmpdoxygeninput
IIdleTaskThread.h
Generated on Sat Jul 19 2025 02:54:13 for InDesign SDK by
1.8.3.1