Logo Search packages:      
Sourcecode: nsis version File versions  Download package


 * ShConstants.h
 * This file is a part of NSIS.
 * Copyright (C) 2003 Ramon
 * Licensed under the zlib/libpng license (the "License");
 * you may not use this file except in compliance with the License.
 * Licence details can be found in the file COPYING.
 * This software is provided 'as-is', without any express or implied
 * warranty.

#ifndef ___CONSTANTS___H_____
#define ___CONSTANTS___H_____

#include "strlist.h"

struct constantstring {
  int name;
  int index;
  int pos;
  int value1;
  int value2;

class ConstantsStringList : public SortedStringListND<struct constantstring>

    int add(const char *name, int value1, int value2);
    int get(char *name, int n_chars = -1);
    int getnum();
    int get_value1(int idx);
    int get_value2(int idx);
    char *idx2name(int idx);

    int index;
    int get_internal_idx(int idx);


Generated by  Doxygen 1.6.0   Back to index