Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/nde/android/IndexRecord.h

24 lines
647 B
C
Raw Normal View History

2024-09-24 12:54:57 +00:00
#pragma once
/*
Android (linux) implementation
*/
#include <stdio.h>
#include "Record.h"
#include <nu/PtrDeque2.h>
class IndexField;
class IndexRecord : public RecordBase
{
public:
IndexRecord(int RecordPos, int insertionPoint, VFILE *FileHandle, Table *p);
void BuildCollaboration();
bool NeedFix();
IndexField *GetIndexByName(const char *name);
int GetColumnCount() { return Fields.size() - 1; }
bool CheckIndexing(int v);
int WriteFields(Table *ParentTable);
int WriteIndex(Table *ParentTable);
typedef bool (*FieldsWalker)(IndexRecord *record, Field *entry, void *context);
void WalkFields(FieldsWalker callback, void *context);
};