Subversion Repositories spk

Rev

Rev 178 | Rev 181 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 178 Rev 180
Line 1642... Line 1642...
1642
				}
1642
				}
1643
				break;
1643
				break;
1644
		 }
1644
		 }
1645
	}
1645
	}
1646
 
1646
 
1647
	void PackageForm::DropGetDirectories(String ^dir, CyStringList *list, bool packages)
1647
	void PackageForm::DropGetDirectories(String ^dir, Utils::CStringList *list, bool packages)
1648
	{
1648
	{
1649
		cli::array<String ^> ^dirList = IO::Directory::GetFileSystemEntries(dir);
1649
		cli::array<String ^> ^dirList = IO::Directory::GetFileSystemEntries(dir);
1650
		for ( int j = 0; j < dirList->Length; j++ )
1650
		for ( int j = 0; j < dirList->Length; j++ )
1651
		{
1651
		{
1652
			if ( IO::DirectoryInfo(dirList[j]).Exists )
1652
			if ( IO::DirectoryInfo(dirList[j]).Exists )
1653
				this->DropGetDirectories(dirList[j], list, packages);
1653
				this->DropGetDirectories(dirList[j], list, packages);
1654
			else
1654
			else
1655
			{
1655
			{
1656
				if ( packages )
1656
				if ( packages )
1657
					list->PushBack(CyStringFromSystemString(dirList[j]), "-1");
1657
					list->pushBack(_S(dirList[j]), "-1");
1658
				else
1658
				else
1659
					list->PushBack(CyStringFromSystemString(dirList[j]), CyString::Number(SPK::GetAutomaticFiletype(_S(dirList[j]), NULL,false)));
1659
					list->pushBack(_S(dirList[j]), Utils::String::Number(SPK::GetAutomaticFiletype(_S(dirList[j]), NULL,false)));
1660
			}
1660
			}
1661
		}
1661
		}
1662
	}
1662
	}
1663
 
1663
 
1664
	void PackageForm::RemoveSelectedFiles()
1664
	void PackageForm::RemoveSelectedFiles()