/***************************************************************************
                            QDir.cpp -  description
                             -------------------
    begin                : Wed Nov 21 17:05:56 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 17:05:56 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
***************************************************************************/

#define _BOOL_H_
#include <qdir.h>
#include <qstring.h>
#include <qcstring.h>

#include <qtjava/QtSupport.h>
#include <qtjava/QDir.h>

class QDirJBridge : public QDir
{
public:
	QDirJBridge() : QDir() {}
	QDirJBridge(const QString& path, const QString& nameFilter, int sortSpec, int filterSpec) : QDir(path, nameFilter, sortSpec, filterSpec) {}
	QDirJBridge(const QDir& arg1) : QDir(arg1) {}
	~QDirJBridge() {QtSupport::qtKeyDeleted(this);}
};


JNIEXPORT void JNICALL
Java_org_kde_qt_QDir_newQDir__(JNIEnv *env, jobject obj)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QDirJBridge());
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDir_newQDir__Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv *env, jobject obj, jstring path, jstring nameFilter, jint sortSpec, jint filterSpec)
{
static QString * _qstring_nameFilter = 0;
static QString * _qstring_path = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QDirJBridge((QString&) * (QString *) QtSupport::toQString(env, path, &_qstring_path), (QString&) * (QString *) QtSupport::toQString(env, nameFilter, &_qstring_nameFilter), (int) sortSpec, (int) filterSpec));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDir_newQDir__Ljava_lang_String_2(JNIEnv *env, jobject obj, jstring path)
{
static QString * _qstring_path = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QDirJBridge((QString&) * (QString *) QtSupport::toQString(env, path, &_qstring_path), QString::null, QDir::Name | QDir::IgnoreCase, QDir::All));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDir_newQDir__Lorg_kde_qt_QDir_2(JNIEnv *env, jobject obj, jobject arg1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QDirJBridge((QDir&) *(QDir *) QtSupport::getQt(env, arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDir_finalize(JNIEnv *env, jobject obj)
{
	if (QtSupport::allocatedInJavaWorld(env, obj)) {
		delete (QDir*)QtSupport::getQt(env, obj);
		QtSupport::setQt(env, obj, 0);
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDir_setPath(JNIEnv *env, jobject obj, jstring path)
{
static QString * _qstring_path = 0;
	((QDirJBridge*) QtSupport::getQt(env, obj))->setPath((QString&) * (QString *) QtSupport::toQString(env, path, &_qstring_path));
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QDir_path(JNIEnv *env, jobject obj)
{
	QString  _qstring;
	_qstring = ((QDirJBridge*) QtSupport::getQt(env, obj))->path();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QDir_absPath(JNIEnv *env, jobject obj)
{
	QString  _qstring;
	_qstring = ((QDirJBridge*) QtSupport::getQt(env, obj))->absPath();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QDir_canonicalPath(JNIEnv *env, jobject obj)
{
	QString  _qstring;
	_qstring = ((QDirJBridge*) QtSupport::getQt(env, obj))->canonicalPath();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QDir_dirName(JNIEnv *env, jobject obj)
{
	QString  _qstring;
	_qstring = ((QDirJBridge*) QtSupport::getQt(env, obj))->dirName();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QDir_filePath(JNIEnv *env, jobject obj, jstring fileName, jboolean acceptAbsPath)
{
	QString  _qstring;
static QString * _qstring_fileName = 0;
	_qstring = ((QDirJBridge*) QtSupport::getQt(env, obj))->filePath((QString&) * (QString *) QtSupport::toQString(env, fileName, &_qstring_fileName), (bool) acceptAbsPath);
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QDir_absFilePath(JNIEnv *env, jobject obj, jstring fileName, jboolean acceptAbsPath)
{
	QString  _qstring;
static QString * _qstring_fileName = 0;
	_qstring = ((QDirJBridge*) QtSupport::getQt(env, obj))->absFilePath((QString&) * (QString *) QtSupport::toQString(env, fileName, &_qstring_fileName), (bool) acceptAbsPath);
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDir_cd__Ljava_lang_String_2Z(JNIEnv *env, jobject obj, jstring dirName, jboolean acceptAbsPath)
{
static QString * _qstring_dirName = 0;
	return (jboolean) ((QDirJBridge*) QtSupport::getQt(env, obj))->cd((QString&) * (QString *) QtSupport::toQString(env, dirName, &_qstring_dirName), (bool) acceptAbsPath);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDir_cd__Ljava_lang_String_2(JNIEnv *env, jobject obj, jstring dirName)
{
static QString * _qstring_dirName = 0;
	return (jboolean) ((QDirJBridge*) QtSupport::getQt(env, obj))->cd((QString&) * (QString *) QtSupport::toQString(env, dirName, &_qstring_dirName), TRUE);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDir_cdUp(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QDirJBridge*) QtSupport::getQt(env, obj))->cdUp();
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QDir_nameFilter(JNIEnv *env, jobject obj)
{
	QString  _qstring;
	_qstring = ((QDirJBridge*) QtSupport::getQt(env, obj))->nameFilter();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDir_setNameFilter(JNIEnv *env, jobject obj, jstring nameFilter)
{
static QString * _qstring_nameFilter = 0;
	((QDirJBridge*) QtSupport::getQt(env, obj))->setNameFilter((QString&) * (QString *) QtSupport::toQString(env, nameFilter, &_qstring_nameFilter));
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QDir_filter(JNIEnv *env, jobject obj)
{
	return (jint) ((QDirJBridge*) QtSupport::getQt(env, obj))->filter();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDir_setFilter(JNIEnv *env, jobject obj, jint filterSpec)
{
	((QDirJBridge*) QtSupport::getQt(env, obj))->setFilter((int) filterSpec);
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QDir_sorting(JNIEnv *env, jobject obj)
{
	return (jint) ((QDirJBridge*) QtSupport::getQt(env, obj))->sorting();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDir_setSorting(JNIEnv *env, jobject obj, jint sortSpec)
{
	((QDirJBridge*) QtSupport::getQt(env, obj))->setSorting((int) sortSpec);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDir_matchAllDirs(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QDirJBridge*) QtSupport::getQt(env, obj))->matchAllDirs();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDir_setMatchAllDirs(JNIEnv *env, jobject obj, jboolean arg1)
{
	((QDirJBridge*) QtSupport::getQt(env, obj))->setMatchAllDirs((bool) arg1);
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QDir_count(JNIEnv *env, jobject obj)
{
	return (jint) ((QDirJBridge*) QtSupport::getQt(env, obj))->count();
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDir_encodedEntryList__II(JNIEnv *env, jobject obj, jint filterSpec, jint sortSpec)
{
	QStrList  _qlist;
	_qlist = ((QDirJBridge*) QtSupport::getQt(env, obj))->encodedEntryList((int) filterSpec, (int) sortSpec);
	return (jobject) QtSupport::arrayWithQStrList(env, (QStrList *) &_qlist);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDir_encodedEntryList__Ljava_lang_String_2II(JNIEnv *env, jobject obj, jstring nameFilter, jint filterSpec, jint sortSpec)
{
	QStrList  _qlist;
static QString * _qstring_nameFilter = 0;
	_qlist = ((QDirJBridge*) QtSupport::getQt(env, obj))->encodedEntryList((QString&) * (QString *) QtSupport::toQString(env, nameFilter, &_qstring_nameFilter), (int) filterSpec, (int) sortSpec);
	return (jobject) QtSupport::arrayWithQStrList(env, (QStrList *) &_qlist);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDir_entryList__II(JNIEnv *env, jobject obj, jint filterSpec, jint sortSpec)
{
	QStringList  _qlist;
	_qlist = ((QDirJBridge*) QtSupport::getQt(env, obj))->entryList((int) filterSpec, (int) sortSpec);
	return (jobject) QtSupport::arrayWithQStringList(env, (QStringList *) &_qlist);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDir_entryList__Ljava_lang_String_2II(JNIEnv *env, jobject obj, jstring nameFilter, jint filterSpec, jint sortSpec)
{
	QStringList  _qlist;
static QString * _qstring_nameFilter = 0;
	_qlist = ((QDirJBridge*) QtSupport::getQt(env, obj))->entryList((QString&) * (QString *) QtSupport::toQString(env, nameFilter, &_qstring_nameFilter), (int) filterSpec, (int) sortSpec);
	return (jobject) QtSupport::arrayWithQStringList(env, (QStringList *) &_qlist);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDir_entryInfoList__II(JNIEnv *env, jobject obj, jint filterSpec, jint sortSpec)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QDirJBridge*) QtSupport::getQt(env, obj))->entryInfoList((int) filterSpec, (int) sortSpec), "org.kde.qt.QFileInfoList");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDir_entryInfoList__(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QDirJBridge*) QtSupport::getQt(env, obj))->entryInfoList(QDir::DefaultFilter, QDir::DefaultSort), "org.kde.qt.QFileInfoList");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDir_entryInfoList__Ljava_lang_String_2II(JNIEnv *env, jobject obj, jstring nameFilter, jint filterSpec, jint sortSpec)
{
static QString * _qstring_nameFilter = 0;
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QDirJBridge*) QtSupport::getQt(env, obj))->entryInfoList((QString&) * (QString *) QtSupport::toQString(env, nameFilter, &_qstring_nameFilter), (int) filterSpec, (int) sortSpec), "org.kde.qt.QFileInfoList");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDir_entryInfoList__Ljava_lang_String_2(JNIEnv *env, jobject obj, jstring nameFilter)
{
static QString * _qstring_nameFilter = 0;
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QDirJBridge*) QtSupport::getQt(env, obj))->entryInfoList((QString&) * (QString *) QtSupport::toQString(env, nameFilter, &_qstring_nameFilter), QDir::DefaultFilter, QDir::DefaultSort), "org.kde.qt.QFileInfoList");
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDir_mkdir__Ljava_lang_String_2Z(JNIEnv *env, jobject obj, jstring dirName, jboolean acceptAbsPath)
{
static QString * _qstring_dirName = 0;
	return (jboolean) ((QDirJBridge*) QtSupport::getQt(env, obj))->mkdir((QString&) * (QString *) QtSupport::toQString(env, dirName, &_qstring_dirName), (bool) acceptAbsPath);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDir_mkdir__Ljava_lang_String_2(JNIEnv *env, jobject obj, jstring dirName)
{
static QString * _qstring_dirName = 0;
	return (jboolean) ((QDirJBridge*) QtSupport::getQt(env, obj))->mkdir((QString&) * (QString *) QtSupport::toQString(env, dirName, &_qstring_dirName), TRUE);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDir_rmdir__Ljava_lang_String_2Z(JNIEnv *env, jobject obj, jstring dirName, jboolean acceptAbsPath)
{
static QString * _qstring_dirName = 0;
	return (jboolean) ((QDirJBridge*) QtSupport::getQt(env, obj))->rmdir((QString&) * (QString *) QtSupport::toQString(env, dirName, &_qstring_dirName), (bool) acceptAbsPath);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDir_rmdir__Ljava_lang_String_2(JNIEnv *env, jobject obj, jstring dirName)
{
static QString * _qstring_dirName = 0;
	return (jboolean) ((QDirJBridge*) QtSupport::getQt(env, obj))->rmdir((QString&) * (QString *) QtSupport::toQString(env, dirName, &_qstring_dirName), TRUE);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDir_isReadable(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QDirJBridge*) QtSupport::getQt(env, obj))->isReadable();
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDir_exists__(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QDirJBridge*) QtSupport::getQt(env, obj))->exists();
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDir_isRoot(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QDirJBridge*) QtSupport::getQt(env, obj))->isRoot();
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDir_isRelative(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QDirJBridge*) QtSupport::getQt(env, obj))->isRelative();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDir_convertToAbs(JNIEnv *env, jobject obj)
{
	((QDirJBridge*) QtSupport::getQt(env, obj))->convertToAbs();
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDir_remove__Ljava_lang_String_2Z(JNIEnv *env, jobject obj, jstring fileName, jboolean acceptAbsPath)
{
static QString * _qstring_fileName = 0;
	return (jboolean) ((QDirJBridge*) QtSupport::getQt(env, obj))->remove((QString&) * (QString *) QtSupport::toQString(env, fileName, &_qstring_fileName), (bool) acceptAbsPath);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDir_remove__Ljava_lang_String_2(JNIEnv *env, jobject obj, jstring fileName)
{
static QString * _qstring_fileName = 0;
	return (jboolean) ((QDirJBridge*) QtSupport::getQt(env, obj))->remove((QString&) * (QString *) QtSupport::toQString(env, fileName, &_qstring_fileName), TRUE);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDir_rename__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv *env, jobject obj, jstring name, jstring newName, jboolean acceptAbsPaths)
{
static QString * _qstring_newName = 0;
static QString * _qstring_name = 0;
	return (jboolean) ((QDirJBridge*) QtSupport::getQt(env, obj))->rename((QString&) * (QString *) QtSupport::toQString(env, name, &_qstring_name), (QString&) * (QString *) QtSupport::toQString(env, newName, &_qstring_newName), (bool) acceptAbsPaths);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDir_rename__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jstring name, jstring newName)
{
static QString * _qstring_newName = 0;
static QString * _qstring_name = 0;
	return (jboolean) ((QDirJBridge*) QtSupport::getQt(env, obj))->rename((QString&) * (QString *) QtSupport::toQString(env, name, &_qstring_name), (QString&) * (QString *) QtSupport::toQString(env, newName, &_qstring_newName), TRUE);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDir_exists__Ljava_lang_String_2Z(JNIEnv *env, jobject obj, jstring name, jboolean acceptAbsPath)
{
static QString * _qstring_name = 0;
	return (jboolean) ((QDirJBridge*) QtSupport::getQt(env, obj))->exists((QString&) * (QString *) QtSupport::toQString(env, name, &_qstring_name), (bool) acceptAbsPath);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDir_exists__Ljava_lang_String_2(JNIEnv *env, jobject obj, jstring name)
{
static QString * _qstring_name = 0;
	return (jboolean) ((QDirJBridge*) QtSupport::getQt(env, obj))->exists((QString&) * (QString *) QtSupport::toQString(env, name, &_qstring_name), TRUE);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QDir_convertSeparators(JNIEnv *env, jclass obj, jstring pathName)
{
	QString  _qstring;
static QString * _qstring_pathName = 0;
	_qstring = QDirJBridge::convertSeparators((QString&) * (QString *) QtSupport::toQString(env, pathName, &_qstring_pathName));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDir_drives(JNIEnv *env, jclass obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)QDirJBridge::drives(), "org.kde.qt.QFileInfoList");
}

JNIEXPORT jchar JNICALL
Java_org_kde_qt_QDir_separator(JNIEnv *env, jclass obj)
{
	return (jchar) QDirJBridge::separator();
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDir_setCurrent(JNIEnv *env, jclass obj, jstring path)
{
static QString * _qstring_path = 0;
	return (jboolean) QDirJBridge::setCurrent((QString&) * (QString *) QtSupport::toQString(env, path, &_qstring_path));
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDir_current(JNIEnv *env, jclass obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)new  QDir (QDirJBridge::current()), "org.kde.qt.QDir", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDir_home(JNIEnv *env, jclass obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)new  QDir (QDirJBridge::home()), "org.kde.qt.QDir", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDir_root(JNIEnv *env, jclass obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)new  QDir (QDirJBridge::root()), "org.kde.qt.QDir", TRUE);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QDir_currentDirPath(JNIEnv *env, jclass obj)
{
	QString  _qstring;
	_qstring = QDirJBridge::currentDirPath();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QDir_homeDirPath(JNIEnv *env, jclass obj)
{
	QString  _qstring;
	_qstring = QDirJBridge::homeDirPath();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QDir_rootDirPath(JNIEnv *env, jclass obj)
{
	QString  _qstring;
	_qstring = QDirJBridge::rootDirPath();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDir_match___3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv *env, jclass obj, jobjectArray filters, jstring fileName)
{
static QString * _qstring_fileName = 0;
static QStringList * _qlist_filters = 0;
	return (jboolean) QDirJBridge::match((QStringList&) * (QStringList *) QtSupport::toQStringList(env, filters, &_qlist_filters), (QString&) * (QString *) QtSupport::toQString(env, fileName, &_qstring_fileName));
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDir_match__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv *env, jclass obj, jstring filter, jstring fileName)
{
static QString * _qstring_fileName = 0;
static QString * _qstring_filter = 0;
	return (jboolean) QDirJBridge::match((QString&) * (QString *) QtSupport::toQString(env, filter, &_qstring_filter), (QString&) * (QString *) QtSupport::toQString(env, fileName, &_qstring_fileName));
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QDir_cleanDirPath(JNIEnv *env, jclass obj, jstring dirPath)
{
	QString  _qstring;
static QString * _qstring_dirPath = 0;
	_qstring = QDirJBridge::cleanDirPath((QString&) * (QString *) QtSupport::toQString(env, dirPath, &_qstring_dirPath));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDir_isRelativePath(JNIEnv *env, jclass obj, jstring path)
{
static QString * _qstring_path = 0;
	return (jboolean) QDirJBridge::isRelativePath((QString&) * (QString *) QtSupport::toQString(env, path, &_qstring_path));
}

