mirror of
https://github.com/atom/atom.git
synced 2026-01-15 01:48:15 -05:00
31 lines
637 B
C++
31 lines
637 B
C++
#ifndef ATOM_H_
|
|
#define ATOM_H_
|
|
#pragma once
|
|
|
|
#include <string>
|
|
#include "include/cef_base.h"
|
|
|
|
class CefApp;
|
|
class CefBrowser;
|
|
class CefCommandLine;
|
|
|
|
// Returns the main browser window instance.
|
|
CefRefPtr<CefBrowser> AppGetBrowser();
|
|
|
|
// Returns the main application window handle.
|
|
CefWindowHandle AppGetMainHwnd();
|
|
|
|
// Returns the application working directory.
|
|
std::string AppGetWorkingDirectory();
|
|
|
|
// Returns the application's path.
|
|
std::string AppPath();
|
|
|
|
// Returns the initial path to open.
|
|
std::string PathToOpen();
|
|
|
|
// Returns the application settings
|
|
void AppGetSettings(CefSettings& settings, CefRefPtr<CefApp>& app);
|
|
|
|
#endif
|