Пример #1
0
        public bool ReadMap()
        {
            switch (id)
            {
            case CharsetType.General: {
                if (file == string.Empty)
                {
                    code = Charcode.AnsiGeneric;
                    return(true);
                }
                // FIXME - implement reading charmap from file...
                return(true);
            }

            case CharsetType.Symbol: {
                if (file == string.Empty)
                {
                    code = Charcode.AnsiSymbol;
                    return(true);
                }

                // FIXME - implement reading charmap from file...
                return(true);
            }

            default: {
                return(false);
            }
            }
        }
Пример #2
0
		public bool ReadMap() {
			switch (id) {
				case CharsetType.General: {
					if (file == string.Empty) {
						code = Charcode.AnsiGeneric;
						return true;
					}
					// FIXME - implement reading charmap from file...
					return true;
				}

				case CharsetType.Symbol: {
					if (file == string.Empty) {
						code = Charcode.AnsiSymbol;
						return true;
					}

					// FIXME - implement reading charmap from file...
					return true;
				}

				default: {
					return false;
				}
			}
		}