 
 socketPath = '/tmp/atom.sock'
 
-# Public: The application's singleton class.
+# Private: The application's singleton class.
 #
 # It's the entry point into the Atom application and maintains the global state
 # of the application.

  #
  # Once paths are selected, they're opened in a new or existing {AtomWindow}s.
  #
  # __Options__
  #
  # + devMode - A Boolean which controls whether any newly opened windows should
  #   be in dev mode or not.
  promptForPath: ({devMode}={}) ->
    pathsToOpen = dialog.showOpenDialog title: 'Open', properties: ['openFile', 'openDirectory', 'multiSelections', 'createDirectory']
    @openPaths({pathsToOpen, devMode})

  #
  # Currently only supports atom://session/<session-id> urls.
  #
  # * options
  #    + urlToOpen:
  #      The atom:// url to open.
  #    + devMode:
  #      Boolean to control the opened window's dev mode.
  openUrl: ({urlToOpen, devMode}) ->
    parsedUrl = url.parse(urlToOpen)
    if parsedUrl.host is 'session'
