From da78a9e329e272dedb2400b79a3bdeebff387d47 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:17 -0500 Subject: initial commit --- files/ko/xpconnect/index.html | 57 ++++++++++++++++++++++++++ files/ko/xpconnect/using_components/index.html | 17 ++++++++ 2 files changed, 74 insertions(+) create mode 100644 files/ko/xpconnect/index.html create mode 100644 files/ko/xpconnect/using_components/index.html (limited to 'files/ko/xpconnect') diff --git a/files/ko/xpconnect/index.html b/files/ko/xpconnect/index.html new file mode 100644 index 0000000000..301a379c07 --- /dev/null +++ b/files/ko/xpconnect/index.html @@ -0,0 +1,57 @@ +--- +title: XPConnect +slug: XPConnect +tags: + - XPConnect +translation_of: Mozilla/Tech/XPCOM/Language_bindings/XPConnect +--- +
+

XPConnect는 JavaScriptXPCOM 사이에서 연결해줍니다. XPConnect를 사용하여 JavaScript 코드에서 XPCOM 컴포넌트를 사용할 수 있고 XPCOM 컴포넌트 내의 JavaScript 객체와 상호 작용할 수 있습니다. +

+
+ + +
+

문서

+
XPConnect:Architecture basics +
XPConnect, JavaScript, XPCOM, XUL... +
+
XPConnect:Using components +
XPCOM 컴포넌트와 통신하는 법. +
+
XPConnect와 XPIDL FAQ +
+

View All... +

+

예제

+
nsIEnumerator +
열거가 끝났을 때를 어떻게 아나요? +
+
XPConnect:nsIRegistry +
appreg 나타내기. +
+
XPConnect:nsIProfile +
프로필 생성, 이름 변경, 삭제, 나열하기. +
+
XPConnect:appShellService +
XPConnect에서 Mozilla를 끝낼 수도 있습니다. +
+

View All... +

+
+

커뮤니티

+
  • Mozilla 포럼 보기... +
+

{{ DiscussionList("dev-tech-xpcom", "mozilla.dev.tech.xpcom") }} +

+

도구

+ +

관련 주제

+
XPCOM, JavaScript +
+
+

Categories +

Interwiki Language Links +


+

{{ languages( { "en": "en/XPConnect", "fr": "fr/XPConnect", "ja": "ja/XPConnect", "pl": "pl/XPConnect" } ) }} diff --git a/files/ko/xpconnect/using_components/index.html b/files/ko/xpconnect/using_components/index.html new file mode 100644 index 0000000000..a54d48deae --- /dev/null +++ b/files/ko/xpconnect/using_components/index.html @@ -0,0 +1,17 @@ +--- +title: Using components +slug: XPConnect/Using_components +translation_of: Mozilla/Tech/XPCOM/Language_bindings/XPConnect/Using_components +--- +

XPConnect은 모질라와 xpcshell에서 XPCOM 콤포넌트에 투명하게 접근할 수 있도록 해줍니다.

+

일반적으로 스크립트는 다음과 같이 시작합니다 :

+
var Cc = Components.classes;
+var Ci = Components.interfaces;
+
+

콤포넌트에 대한 연결을 가지고 있으려면, 다음과 같이 합니다 :

+
var rc = Cc["@mozilla.org/registry;1"]; var rs = rc.getService(Ci.nsIRegistry);
+
+

See also :

+ -- cgit v1.2.3-54-g00ecf