PackageKit.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2005 Palmsource, Inc.
00003  * 
00004  * This software is licensed as described in the file LICENSE, which
00005  * you should have received as part of this distribution. The terms
00006  * are also available at http://www.openbinder.org/license.html.
00007  * 
00008  * This software consists of voluntary contributions made by many
00009  * individuals. For the exact contribution history, see the revision
00010  * history and logs, available at http://www.openbinder.org
00011  */
00012 
00013 #ifndef _PACKAGE_KIT_H
00014 #define _PACKAGE_KIT_H
00015 
00016 #include <support/Value.h>
00017 #include <support/IByteStream.h>
00018 
00019 #if _SUPPORTS_NAMESPACE
00020 namespace palmos {
00021 namespace package {
00022 using namespace palmos::storage;
00023 using namespace palmos::support;
00024 #endif
00025 
00026 // Returns an SValue given a component description (from the manifest)
00027 // using the standard names:
00028 //       Key      Type
00029 //       file     string        Path to the script file
00030 sptr<IByteInput> get_script_data_from_value(const SValue &info, status_t *err = NULL);
00031 
00032 
00033 #if _SUPPORTS_NAMESPACE
00034 } }
00035 #endif
00036 
00037 #endif // _PACKAGE_KIT_H