Creating XPCOM Components
MDC
[편집] Preface
- Who Should Read This Book 이 문서가 필요한 사람
- Organization of the Tutorial 튜토리얼 구조
- Following Along with the Examples 예제 따라하기
- Conventions
- Acknowledgements
[편집] An Overview of XPCOM
- The XPCOM Solution
- Gecko
- Components
- Interfaces
- XPCOM Identifiers
- Factories
- XPCOM Services
- XPCOM Types
[편집] Using XPCOM Components
[편집] Component Internals
[편집] Creating the Component Code
- What We'll Be Working On
- Component Registration
- Overview of the WebLock Module Source
- Digging In: Required Includes and Constants
-
webLock1.cpp
[편집] Using XPCOM Utilities to Make Things Easier
[편집] Starting WebLock
- Getting Called at Startup
- Providing Access to WebLock
- Creating the WebLock Programming Interface
- Defining the WebLock Interface in XPIDL
- Implementing WebLock
- Declaration Macros
- Representing Return Values in XPCOM
- XPIDL Code Generation
- Getting the WebLock Service from a Client
- Implementing the
iWebLockInterface - The Directory Service
- Modifying Paths with
nsIFile - Manipulating Files with
nsIFile - Using
nsILocalFilefor Reading Data - Processing the White List Data
-
iWebLockMethod By Method
[편집] Finishing the Component
[편집] Building the WebLock UI
- User Interface Package List
- Client Code Overview
- XUL
- Overlaying New User Interface Into Mozilla
- Other Resources
[편집] Packaging WebLock
- Component Installation Overview
- Archiving Resources
- The WebLock Installation Script
- The WebLock Trigger Script
- Distributing Your Component