blob: 235beb6f4b1711b2261584e642e068f4e8307e0e [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
#pragma once
#include <string>
#include <map>
class JSObject {
public:
JSObject(std::wstring* name, unsigned int parentHandle);
~JSObject();
std::wstring getAccessor();
private:
std::wstring* m_name;
std::map<std::wstring*, unsigned int>* m_objects;
unsigned int m_parentHandle;
};