|
|
|

Preface
- Who Should Read This Book
- Organization of the Tutorial
- Following Along with the Examples
- Conventions
- Acknowledgements
CHAPTER 1 What Is XPCOM?
- The XPCOM Solution
- Gecko
- Components
- Interfaces
- XPCOM Identifiers
- Factories
- XPCOM Services
- XPCOM Types
CHAPTER 2 Using XPCOM Components
CHAPTER 3 Component Internals
CHAPTER 4 Tutorial : 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
CHAPTER 5 Tutorial: Using XPCOM Utilities To Make Things Easier
CHAPTER 6 Tutorial: 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 iWebLock Interface
- The Directory Service
- Modifying Paths with nsIFile
- Manipulating Files with nsIFile
- Using nsILocalFile for Reading Data
- Processing the White List Data
- iWebLock Method by Method
CHAPTER 7 Tutorial: Finishing the Component
CHAPTER 8 Tutorial: Building the WebLock UI
- User Interface Package List
- Client Code Overview
- XUL
- Overlaying New User Interface Into Mozilla
- Other Resources
CHAPTER 9 Tutorial: Packaging WebLock
- Component Installation Overview
- Archiving Resources
- The WebLock Installation Script
- The WebLock Trigger Script
- Distributing Your Component
Appendix A: Setting up the Gecko SDK
Appendix B: XPCOM API Reference
Appendix C: Resources
|
Copyright (c) 2003 by
Doug Turner and Ian Oeschger. This material may be
distributed only subject to the terms and conditions set
forth in the Open Publication License, v1.02 or later (the
latest version is presently available at
http://www.opencontent.org/openpub/). Distribution of
substantively modified versions of this document is
prohibited without the explicit permission of the copyright
holder. Distribution of the work or derivative of the work in
any standard (paper) book form is prohibited unless prior
permission is obtained from the copyright holder. Brownhen Publishing http://www.brownhen.com |
|
|
|