view dwt/internal/mozilla/nsIIOService2.d @ 272:dd63eb078d7a

xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
author John Reimer<terminal.node@gmail.com>
date Fri, 18 Jul 2008 05:32:53 -0700
parents
children 942da4b6558a
line wrap: on
line source

module dwt.internal.mozilla.nsIIOService2;

import dwt.internal.mozilla.Common;
import dwt.internal.mozilla.nsID;
import dwt.internal.mozilla.nsIIOService;

const char[] NS_IIOSERVICE2_IID_STR = "d44fe6d4-ee35-4789-886a-eb8f0554d04e";

const nsIID NS_IIOSERVICE2_IID= 
  {0xd44fe6d4, 0xee35, 0x4789, 
    [ 0x88, 0x6a, 0xeb, 0x8f, 0x05, 0x54, 0xd0, 0x4e ]};

extern(System)

interface nsIIOService2 : nsIIOService {

  static const char[] IID_STR = NS_IIOSERVICE2_IID_STR;
  static const nsIID IID = NS_IIOSERVICE2_IID;

  nsresult GetManageOfflineStatus(PRBool *aManageOfflineStatus);
  nsresult SetManageOfflineStatus(PRBool aManageOfflineStatus);

}