Commit c935bb3b authored by Tatiana Meshkova's avatar Tatiana Meshkova

Updated CID

parent 85d164b4
...@@ -37,9 +37,9 @@ private: ...@@ -37,9 +37,9 @@ private:
#define NS_EMBED_CHROME_CONTRACTID "@mozilla.org/embed-chrome-component;1" #define NS_EMBED_CHROME_CONTRACTID "@mozilla.org/embed-chrome-component;1"
#define NS_EMBED_CHROME_SERVICE_CLASSNAME "Embed Chrome Listener Component" #define NS_EMBED_CHROME_SERVICE_CLASSNAME "Embed Chrome Listener Component"
#define NS_EMBED_CHROME_SERVICE_CID \ #define NS_EMBED_CHROME_SERVICE_CID \
{ 0xab157a4c, \ { 0xc0e99ee0, \
0x6aaf, \ 0x6e88, \
0x12e2, \ 0x11e2, \
{ 0xa6, 0x9f, 0x4f, 0xcc, 0xae, 0x4e, 0x8e, 0xc6 }} { 0xad, 0x40, 0xaf, 0xe0, 0x02, 0x59, 0x55 }}
#endif /*EmbedChromeManager_H_*/ #endif /*EmbedChromeManager_H_*/
#!/usr/bin/perl -w
my $val = `uuid`;
my $NAME = $ARGV[0];
if ($NAME && $val=~/(\S{8})\-(\S{4})\-(\S{4})-(\S{2})(\S{2})\-(\S{2})(\S{2})(\S{2})(\S{2})(\S{2})(\S{2})/) {
print "
uuid - $val
#define $NAME \\
{ 0x$1, \\
0x$2, \\
0x$3, \\
{ 0x$4, 0x$5, 0x$6, 0x$7, 0x$8, 0x$9, 0x$10 }}
\n";
} else {
print "Bad value provided.. use gencppid.pl NS_BLA_NAME_CID\n";
}
...@@ -15,7 +15,10 @@ ...@@ -15,7 +15,10 @@
#include "nsServiceManagerUtils.h" #include "nsServiceManagerUtils.h"
#define NS_EMBEDLITEHISTORY_CID \ #define NS_EMBEDLITEHISTORY_CID \
{0xCCAA4780, 0x15DD, 0x40A7, {0xA1, 0x4F, 0x21, 0x56, 0xBC, 0x88, 0x2A, 0x0B}} { 0xec7cf1e2, \
0x6e88, \
0x11e2, \
{ 0xa7, 0x9a, 0xfb, 0x19, 0xfe, 0x29, 0x97 }}
class EmbedHistoryListener : public mozilla::IHistory, public nsIRunnable class EmbedHistoryListener : public mozilla::IHistory, public nsIRunnable
{ {
...@@ -44,7 +47,6 @@ private: ...@@ -44,7 +47,6 @@ private:
nsCOMPtr<nsIEmbedAppService> mService; nsCOMPtr<nsIEmbedAppService> mService;
}; };
#define NS_EMBED_HISTORY_CONTRACTID "@mozilla.org/embed-history-component;1" #define NS_EMBED_HISTORY_CONTRACTID "@mozilla.org/embed-history-component;1"
#define NS_EMBED_HISTORY_SERVICE_CLASSNAME "Embed History Listener Component" #define NS_EMBED_HISTORY_SERVICE_CLASSNAME "Embed History Listener Component"
#define NS_EMBED_HISTORY_SERVICE_CID NS_EMBEDLITEHISTORY_CID #define NS_EMBED_HISTORY_SERVICE_CID NS_EMBEDLITEHISTORY_CID
......
...@@ -26,9 +26,9 @@ public: ...@@ -26,9 +26,9 @@ public:
#define NS_EMBED_PROMPT_CONTRACTID "@mozilla.org/embed-prompt-component;1" #define NS_EMBED_PROMPT_CONTRACTID "@mozilla.org/embed-prompt-component;1"
#define NS_EMBED_PROMPT_SERVICE_CLASSNAME "Embed Prompt Component" #define NS_EMBED_PROMPT_SERVICE_CLASSNAME "Embed Prompt Component"
#define NS_EMBED_PROMPT_SERVICE_CID \ #define NS_EMBED_PROMPT_SERVICE_CID \
{ 0x195eb924, \ { 0xd64e5366, \
0x3ab1, \ 0x6e88, \
0x11e2, \ 0x11e2, \
{ 0xa5, 0x9f, 0x4f, 0xbc, 0xae, 0x3e, 0x4e, 0xc3 }} { 0xae, 0x17, 0x5b, 0xbd, 0xc0, 0x83, 0xa0 }}
#endif /*EmbedPromptRegister_H_*/ #endif /*EmbedPromptRegister_H_*/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment