InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IArticleMemberList.h
1 //========================================================================================
2 //
3 // ADOBE CONFIDENTIAL
4 //
5 // $File$
6 //
7 // Owner: Paresh Goel
8 //
9 // $Author$
10 //
11 // $DateTime$
12 //
13 // $Revision$
14 //
15 // $Change$
16 //
17 // Copyright 2010 Adobe Systems Incorporated
18 // All Rights Reserved.
19 //
20 // NOTICE: All information contained herein is, and remains
21 // the property of Adobe Systems Incorporated and its suppliers,
22 // if any. The intellectual and technical concepts contained
23 // herein are proprietary to Adobe Systems Incorporated and its
24 // suppliers and are protected by trade secret or copyright law.
25 // Dissemination of this information or reproduction of this material
26 // is strictly forbidden unless prior written permission is obtained
27 // from Adobe Systems Incorporated.
28 //
29 //========================================================================================
30 
31 #ifndef __IARTICLEMEMBERLIST__
32 #define __IARTICLEMEMBERLIST__
33 
34 #include "IPMUnknown.h"
35 #include "ArticleID.h"
36 
40 {
41 public:
42  enum { kDefaultIID = IID_IARTICLEMEMBERLIST };
43 
47  virtual int32 CountMembers() const = 0 ;
48 
53  virtual void AddMember(UID memberUID, int32 pos = -1) = 0 ;
54 
58  virtual void RemoveMember(UID memberUID) = 0 ;
59 
63  virtual void RemoveNthMember(int32 pos) = 0 ;
64 
67  virtual void RemoveAllMembers() = 0 ;
68 
73  virtual UID GetNthMemberUID(int32 pos) const = 0 ;
74 
79  virtual int32 GetMemberPosition(UID memberUID) const = 0 ;
80 };
81 
82 #endif // __IARTICLEMEMBERLIST__